Page 1 of 1
Language Characters
Posted: Thu Dec 11, 2014 3:20 am
by klito
On PHP I have charset UTF-8 and COLLATE=utf8_unicode_ci
After upload the Portuguese language I obtain this results:
instead á a black � with ? inside
instead ç a black � with ? inside
etc.etc. ... No accents or letters ç,á,é,ó,ã,õ,ê
Please could you help me?.
Thanks in advance
António
Re: Language Characters
Posted: Thu Dec 11, 2014 4:19 am
by leo
Where is this language pack from?
You have translated the files?
Check the character coding of these files as well. Should be UTF-8.
Re: Language Characters
Posted: Thu Dec 11, 2014 4:49 am
by klito
I translate the files from english but I change the locale to:
// Locale
$_['code'] = 'pt';
$_['charset'] = 'utf-8';
$_['direction'] = 'ltr';
$_['locale'] = 'pt_PT.UTF-8,pt_PT,portugues';
$_['date_format_short'] = 'F j, Y';
$_['date_format_long'] = 'l, F jS, Y';
$_['time_format'] = 'h:i:s A';
$_['decimal_point'] = '.';
$_['thousand_point'] = ',';
Re: Language Characters
Posted: Thu Dec 11, 2014 5:19 am
by leo
open the file with notepad++ (do not use e.g. Microsoft word).
When you save your translated file set encoding to UTF-8.
Re: Language Characters
Posted: Thu Dec 11, 2014 10:32 am
by klito
All ok. Thanks for our kind attention.
All good to you...