ÆØÅ
DemptD |
|
---|---|
Yes, i want to use norwegian characters in the TPLs, how do i do that?
Now they just show up as ? Its these characters: Æ Ø Å Æ Ø Å |
Kilandor |
|
---|---|
Make sure the file is UTF8
|
DemptD |
|
---|---|
In admin>skin localization it is set to UTF8
Whats weird is that if i use ÆØÅ in the site and not in the TPLs it works but when i put it in the TPLs it just becomes a ? Nevermind just had to save the actual file with that encoding |
|
Отредактировано: DemptD (13.03.2009 19:24, 16 лет назад) |
Lombi |
|
---|---|
Yep, as Kilandor said, you need to have all skin files encoded in UTF8. If you havent done this already you can use either of the two solutions in this topic http://www.cotonti.com/forums.php?m=posts&q=2118&n=last#bottom
<a href="http://www.domenlo.com">Surreal Art</a>
|
DemptD |
|
---|---|
Thanks for all the info!
But why doesnt this work in the language files? When i use "ÆØÅ" in the language files the layout gets all messed up in IE but looks fine in FF. |
Lombi |
|
---|---|
Did you encode the language files?
<a href="http://www.domenlo.com">Surreal Art</a>
|
DemptD |
|
---|---|
# Lombi : Did you encode the language files? Yes i did, works fine now in the TPLs but not in the language files... |
Lombi |
|
---|---|
Can you give me a URL of the problem live?
Please doubleckeck that you have encoded ALL the language files correctly - the system ones, skin ones as well as the plugin ones. <a href="http://www.domenlo.com">Surreal Art</a>
|
Kort |
|
---|---|
DemptD: To avoid problems with national characters you have to make sure that:
1. All language files (main, skin, plugins) are encoded to UTF-8 (without BOM) 2. All TPL-files where you use national chars are also encoded to UTF-8 (without BOM) I would recommend that to you do not use Notepad for encoding. Get yourself NotePad++ or some other decent text editor. SED.by - создание сайтов, разработка плагинов и тем для Котонти
|
DemptD |
|
---|---|
# Kort : DemptD: To avoid problems with national characters you have to make sure that: Ohh that solved it after i used Notepad++, thanks! :) |
Kort |
|
---|---|
Most welcome. Do not forget to share Norwegian localisation with the Cotonti community
![]() SED.by - создание сайтов, разработка плагинов и тем для Котонти
|