I am working on a highly customized shop software, based on a open-source one, written in PHP and usual web techniques (CSS, HTML, JS).
I did a lot of customization in the past months/years and developed specific, individual features which are necessary to be successful at our branch.
The shop and the project files are encoded in ISO-8859-1 (company is located in Germany).
Now we want to spread out and use the shop system in different countries (e.g. Sweden, Poland, Great Britain) and customize it to the domestic needs.
But I am afraid that I could encounter some encoding problems afterwards, so my question is:
Is it wise to change the encoding of the whole project and the environment to UTF-8 before I prepare the shop for "multi-shop" usage or should I leave the source at it is and handle (possible) encoding problems for each country as they approach afterwards?
UTF-8has an odd effect of making people think it's 8-bit, when what their looking for is 16-bit Unicode. UTF-8 is a self-expanding format that can store from 8 bits to 32 bits for a single character. That allows it to store a huge range of characters for all languages. It's also stores characters in the least amount of space. (i.e. 7 bits for most ASCII letters). So short answerUTF-8can storeISO-8859-1without loosing anything, plus a lot of other encodings.