Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Question about Text Encoding


mjar81

Recommended Posts

I seem to be having a problem with my character encoding. Take for instance my Polish language definition.

 

My dynamic text is coming from a mySQL database (duh) and is encoded in UTF-8 (requirement because i have other languages such as Thai that need UTF-8 support).

 

When i have the page encoding in UTF-8 (IE or Firefox) I can see the data that is pulled from the database that has special characters just fine but the static text that is defined in all my language files is garbled. See example below:

 

encoding-1.jpg

 

Then... when i switch the encoding to central european (ISO-8859-2) Which the Polish text should be, the static text is fine but the information that i pulls from the database is garbled. Again, see example below:

 

encoding-2.jpg

 

 

Does anyone know how i can get around this problem that i'm having?

 

Please let me know ASAP. Thanks,

 

Mark Rickert

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...