Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ISO-8859-2 in UTF-8 coded store


Eddek

Recommended Posts

Posted

Hello there, my first post on this forums.

 

Okay, I'm a noob in PHP/CSS/HTML stuff, but i know some basics and can read the manuals and what not. I've made up my mind to build whole site around UTF-8 encoding, database, files, everything, and everything works fine. Well, almost everything. On my main page, where the greeting and list of recent products is, the month name is in ISO-8859-2. I've changed all language files to UTF-8 already and everything everywhere is decoded correctly, aside from months names. I've figured the names are stored in /ext/jquery/ui/i18n/jquery.ui.datepicker-pl.js (yeah, the site is supposed to be in PL). I've downloaded it, changed it to UTF-8 in N++ (like I did with all the language files) and re-uploaded. However, the month's name is still displaying incorrect characters. I'm lost in this and would appreciate any help.

Posted

Have you done a hard refresh (ctrl-F5 on most browsers)? It sounds like maybe your browser still has the old .js file. You could also "clear the browser cache" and reload the page.

 

Can you download the .js file from your server and confirm that it's the correct (UTF-8) version that you think you uploaded? By the way, make sure you didn't accidentally introduce a UTF-8 "Byte Order Mark" into any file.

Archived

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

×
×
  • Create New...