ERROR in character encoding [message #7132] |
Wed, 02 May 2018 18:08 |
edortizq
Messages: 82 Registered: August 2008 Location: Ecuador
|
Member |
|
|
Please see an attached file with an error using ADD1 transaction, it happens when I try to send an error message using this->error
This is my validation code:
function _cm_validateInsert ($rowdata)
// Valida el datos del registro
{
$cedrucpas = $rowdata['cedularucpas'];
if (!$this->validarCedula($cedrucpas)) {
$this->errors['cedularucpas'] = getLanguageText('e0001');
}
return $rowdata;
} // _cm_validateInsert
The attached shows the Radicore Application Error
Any ideas why it happens? Please your help!
[Updated on: Sat, 05 May 2018 12:20] by Moderator Report message to a moderator
|
|
|
|
|
Re: ERROR in character encoding [message #7139 is a reply to message #7137] |
Sat, 05 May 2018 12:17 |
AJM
Messages: 2363 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
I have investigated this problem, and I can confirm that UTF8 characters in any of the language_text.inc files will be displayed properly provided that you save the file as UTF8 and not ASCII or something like Windows 1252.
I have tested this by putting some UTF8 characters into one of my standard text files, then loading that message into the screen. The attached screen shot shows the difference between saving the file as UTF8 and non-UTF8.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
[Updated on: Sat, 05 May 2018 12:18] Report message to a moderator
|
|
|