2009/6/12 5:18:24
|
---|
![]() |
A bit confused about character encoding....Hello folks,
Perhaps I mix thing up... My database is in UTF-8, so I thought php files should also be in that encoding. But when I put the word "Geëindigd" in a language file which is UTF-8 I see "Geëindigd". What am I doing wrong here? I compared with a another lang file with an ë in it and that is UTF-8, and there it looks OK.... Thx for helping and grtz, |
2009/6/12 13:29:41
|
---|
![]() |
Re: A bit confused about character encoding....PHP files don't need to be UTF-8 for the site to run properly, but language and theme files should be UTF-8 and declared this way.
Remember also that even if the data is properly encoded in the database, maybe you're not seeing it right in your screen. I mean, for this "database oputput" to be properly seen, the page should be rendered in UTF-8. |
2009/6/12 16:14:07
|
---|
![]() |
Re: A bit confused about character encoding....what he means is check your charset in the source of your page.
|
2009/6/13 3:25:28
|
---|
![]() |
Re: A bit confused about character encoding....Well, I checked, and in the properties of the file it says that it's UTF-8.
So I uploaded this module (XoopsPolls 1.0), with this Dutch language files, which runs now on www.nvshv.nl (a Xoops 2.0.18 site which I soon want to switch to ICMS) to my ICMS site www.leefinaandcht.nl and guess what: the ë is correctly presented to the visitor. I checked and other lang files of modules have the same on my xoops site... So this problem will solve itself when I switch... Thx for replying and greetings, |