Elxis CMS Forum
Support => Language => Topic started by: catflap on September 24, 2007, 22:01:35
-
I am just trying out elxis as am having great problems with joomla and so far everything looks good except for the lack of components and modules but thats another issue. The problem i have is i have written something in turkish which when the site is set to English displays perfectly but when i change to turkish the accents used no longer appear and are replaced by square boxes or question marks anyone know how to get it to display correctly.
-
That is odd... try to find out more about page encoding, and check if your lang file is UTF-8 encoded, and is your DB collation set to UTF8_general_ci.
-
thank you for your quick reply i have checked and both are utf8 encoded where can i get info on page encoding ?
-
If you are using firefox (I always do) you can right click and display page info. But more important is you DB... is it utf8_general_ci?
-
Also check your template's encoding. If is it hardcoded something else than utf-8. I think that most probably, as Ivan mentioned, it is a database issue. It is not setup well. Post a link here if you wish to check it.
-
the template is not hard encoded and database is set for UTF8_general_ci.
here is a sample of the text in english page
Velilerimden ve öğrencilerimden aldığım maiilerden esinlenerek hazırlamış olduğum bu sitede Türkçe AS ve A Level sınavlarına yönelik çalışmalar bulacaksınız.
the same text when switched to turkish
Velilerimden ve �?rencilerimden ald???m maiilerden esinlenerek haz?rlam?? oldu?um bu sitede T�rk�e AS ve A Level s?navlar?na y�nelik �al??malar bulacaks?n?z.�
by the way i am using ie7 and also opera browsers
you can also see it at www.turkish-studies.co.uk/elix (http://www.turkish-studies.co.uk/elix)
-
When you swich to Turkish your page encoding changes from UTF-8 to iso-8859-9, so it is clearly a template problem, or language problem. I have downloaded official Turkish language from elxis.org, and it's OK. If you are not using some custom made laguage, it brings us back to your template. Try some other template...
-
thanks again for your reply.
I am also using the official turkish langauge and have now changed the template to utf8 encoding still the same also tried the 3 templates that come with elxis and they display the same way.
so where do i go from here.
-
Update Now working found out that the turkish language file i downloaded from the elxis directory had a line it it saying iso encoding and set to iso-8859-9 after changing it to utf8 working great now thanks for all your help
-
Hmmm, very interesting. I checked if turkish language was utf-8 encoded, and it was. I don't know why would anyone set encoding to iso after translating everything as utf-8 ??? Anyway, this has to be corrected in turkish laguage available at elxis.org.