Reply LinkBack Thread Tools Search this Thread
Old 09-04-2008, 23:08   #1 (permalink)
Maciek
I like Iced Tea
 
Maciek's Avatar
 
Join Date: Nov 2007
Location: Kitchener.Ontario.Canada
Posts: 93
Send a message via MSN to Maciek
Different Language Symbols on Website

When I put symbols which are part of a different language on my website, the symbols can't be read and are turned into gibberish. How do I make symbols appear as they should be on websites? When I search a symbol online like on wikipedia, it appears without problem, but when I put the symbol on my website, it doesn't show up on the browser as the same symbol.

What can I do?
  Reply With Quote
Old 09-04-2008, 23:14   #2 (permalink)
haku
shiro
 
haku's Avatar
 
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 2,193
Its very likely an encoding issue. Depends on the symbols in question though. Are you doing static of dynamic sites? Either way, if you switch your charsets to utf-8, it will probably solve the problem, although you may still run into issues with Chinese, Japanese and Korean (CJK).
  Reply With Quote
Old 09-04-2008, 23:17   #3 (permalink)
Maciek
I like Iced Tea
 
Maciek's Avatar
 
Join Date: Nov 2007
Location: Kitchener.Ontario.Canada
Posts: 93
Send a message via MSN to Maciek
sorry ive never switched character sets.. how do you switch your charsets to utf-8? and im only working with Polish.
  Reply With Quote
Old 09-04-2008, 23:54   #4 (permalink)
haku
shiro
 
haku's Avatar
 
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 2,193
Are you doing a static or dynamic site?
  Reply With Quote
Old 10-04-2008, 00:31   #5 (permalink)
Maciek
I like Iced Tea
 
Maciek's Avatar
 
Join Date: Nov 2007
Location: Kitchener.Ontario.Canada
Posts: 93
Send a message via MSN to Maciek
How do you classify it as dynamic or static? why would it matter? Ummm, I have php form and I used cookies and some other functional code if that makes it dynamic.
  Reply With Quote
Old 10-04-2008, 01:07   #6 (permalink)
haku
shiro
 
haku's Avatar
 
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 2,193
If the Polish text is being passed through PHP anywhere, you will have to change the internal charset for PHP. But for the time being, lets assume that no Polish text will be passed through PHP and that your problems are static.

Add this to the head of your document:

Code:
<meta http-equiv="Content-Type" content="text/html; charset=uft-8" />

Then open your documents, choose 'save as', and then in your save-as dialogue, save the document with utf-8 encoding (this is important and necessary). However depending on your editing software, this may not be the right place to choose the document encoding. But for most software, it is.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8