eleven0 Posted October 31, 2008 Share Posted October 31, 2008 I need help with encoding different characters. My pages can't show turkish characters such as "ö,ç,ş,ü". All I get is a question mark instead of these characters. Can someone tell me how I can fix this? It seems it works fine on these forums. FYI: I use "jEdit" if it matters. Quote Link to comment Share on other sites More sharing options...
eleven0 Posted October 31, 2008 Author Share Posted October 31, 2008 This was kind of weird. I tried UTF-8 in file, it didn't work. Then I changed it to "UTF-8" in my text editor. It works now. I don't know why text editor overrides what it's in meta. Anyone? Quote Link to comment Share on other sites More sharing options...
haku Posted October 31, 2008 Share Posted October 31, 2008 Because the files themselves are encoded when they are saved. It's not that they are over-riding the meta tag, it's that the meta tag is used to tell the browser what coding the files are saved in. So if the meta tag says UTF8 and the document isn't utf-8, then the meta tag is telling the browser the wrong encoding type. Quote Link to comment Share on other sites More sharing options...
BoltZ Posted October 31, 2008 Share Posted October 31, 2008 It is always recommended to use the utf-8 character encoding since it is universal. Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted November 2, 2008 Share Posted November 2, 2008 It is always recommended to use the utf-8 character encoding since it is universal. That's incorrect. charset=ISO-8859-1 is more prevalent. UTF-8 should only be used when using special characters. Quote Link to comment Share on other sites More sharing options...
BoltZ Posted November 2, 2008 Share Posted November 2, 2008 Hm. Guess the article I read was wrong. I'll research that statement some more. May have to contact the webmaster and correct them Quote Link to comment Share on other sites More sharing options...
haku Posted November 3, 2008 Share Posted November 3, 2008 UTF-8 isn't the end all to everything that some people think it is. It's good, and covers a lot of characters from a lot of languages, but it doesn't cover all of them by all means. Particularly with CJK (Chinese, Japanese, Korean), utf-8 isn't as good a solution as other character sets that are made specifically for those languages. Quote Link to comment Share on other sites More sharing options...
BoltZ Posted November 3, 2008 Share Posted November 3, 2008 I guess it depends on who your target audience is. Quote Link to comment Share on other sites More sharing options...
haku Posted November 3, 2008 Share Posted November 3, 2008 Pretty much. For English sites, 99.9% of the time utf-8 will be fine. Quote Link to comment Share on other sites More sharing options...
BoltZ Posted November 3, 2008 Share Posted November 3, 2008 Yea. Also is your haku name from samurai jack? Quote Link to comment Share on other sites More sharing options...
haku Posted November 4, 2008 Share Posted November 4, 2008 No. It means 'white'. And I'm white! Quote Link to comment Share on other sites More sharing options...
BoltZ Posted November 4, 2008 Share Posted November 4, 2008 Mega lie!! How old are you btw. I always wonder this about people with his post counts, cuz I imagine them with loads of expereince. I'm only 17 Quote Link to comment Share on other sites More sharing options...
haku Posted November 4, 2008 Share Posted November 4, 2008 I'm 32. 'Tis not a lie though, it really does mean white (and I really am white). Or I should say, it's one reading of the kanji for white, it's read 'shiro' when the kanji is by itself. But when combined with the kanji for person, it becomes haku-jin (white man), or with bird it's haku-cho (white bird - a swan), and there are some other cases where it is read 'haku' as well. Quote Link to comment Share on other sites More sharing options...
BoltZ Posted November 4, 2008 Share Posted November 4, 2008 You need an intense avatar like me XD Quote Link to comment Share on other sites More sharing options...
haku Posted November 5, 2008 Share Posted November 5, 2008 'White' would end up being a pretty vanilla avatar Quote Link to comment Share on other sites More sharing options...
BoltZ Posted November 5, 2008 Share Posted November 5, 2008 Ha yea, well we should stop trolling around in this thread :/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.