本文介绍了土耳其人物问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用土耳其语创建了一个页面。为了显示网页上的土耳其字符,我总是使用以下字符集。

 < meta http-equiv =content-typecontent =text / html; charset = iso-8859-9> 

但今天发生了一些奇怪的事情。这是我的页面。 。当我在底部导航中使用上面的字符集时,它们应该显示,但右侧导航中的字符不能正确显示。

另一方面,当我使用以下字符集,右侧的字符显示为应该将底部的字符转换为菱形。

 < meta http-equiv = content-typecontent =text / html; charset = utf-8/> 

任何人都可以帮助我?我该如何解决这个问题。有没有办法将所有字符转换为土耳其语?

解决方案

显然,底部导航中的文本是iso-8859-9编码那些在右侧导航是UTF-8编码。使用允许编码转换的编辑器(如)将底部导航栏中的文本转换为utf-8编码,以及总是使用charset = utf-8作为您的内容类型,这是更普遍,更灵活和广泛支持的编码。


i have created a page in turkish language. To show turkish characters on webpage i always use following character set.

<meta http-equiv="content-type" content="text/html; charset=iso-8859-9">

but today something strange is happening. Here is my page. http://khawajatraders.biz/map/exterior.php . When i use above characterset characters in bottom navigation are display as they should but characters on right side navigation are not displayed correctly.

On the other hand when i use following character set, characters on right are display as they should while characters in bottom are converted into diamonds.

<meta http-equiv="content-type" content="text/html;charset=utf-8" />

can anyone help me ?? How can i fix this problem. Is there a way to convert all characters into turkish?

解决方案

Obviously text in your bottom navigation is iso-8859-9 encoded while those in right side navigation are utf-8 encoded. Convert the text in your bottom nav to utf-8 encoding using an editor that allows encoding conversions (like EmEditor) and always use charset=utf-8 as your content type which is the more universal, more flexible and widely supported encoding.

这篇关于土耳其人物问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 15:12