hi, noticed today that some characters like á é í ó ú are not showing properly in my site, looked for the reason and found that the default elgg encoding comes with charset=UTF-8
someone told me to change it to ISO-8859-1 which looks to fix the problem with accents, so wonder if someone can show me which file is managing that encoding n elgg to change it accordingly
thanks in advance
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
You just posted this message with those characters on a page using UTF-8. So, what is the problem? UTF-8 should work just fine.
thanks dhrup, but yeah Ukr is right
wonder why the hell my installation shows the accents like Administraci�n instead of Administración since Im using the same browser and elgg version. actually Im currently viewing both elgg community and my elgg install in firefox in different tabs and mine shows Administraci�n
is something server related I should check?
pretty confused now :(
update: actually looks it only happens in the lang file only, if I post in a discussion board it shows OK as Administración, but the topbar is still looking bad. will take a look to the traslated file
new update: lang file is OK and showing accents as desired, looks elgg is modifying these chars when loading the spanish lang file :(
Maybe you did not save the lang file in UTF-8? Did you know you need to do that? For instance, you can save the php file in UTF-8 in programs like Dreamweaver. Check this because it will cause a problem if you don't.
I edited the lang file and translated it in notepad, plain text, dont see an option to set the charset there
It's like if you type in Notepad, using special characters (like cyrllic), and don't save in UTF-8, when you re-open the .txt file, you get garbage. Same principle with php files. Alternatively, you can use ASC-II to avoid this.
Funny you mention notepad. I was typing another message to post as you were posting your reply. So, it looks like I 'hit the nail on the head', so to say. You didn't save with UTF-8 option.
Notepad > File > Save As > Encoding > UTF-8
Looks I found it, seems my last revision was made via CrimsonEditor (great soft BTW) and it was saved in ascii, I will set UTF-8 and reupload to see if that fixs it. Thanks Ukr, you pointed me to the right direction. Will update tomorrow if this fixed. Bye
Cool. So glad to help you.
- Previous
- 1
- 2
- Next
You must log in to post replies.