I already answered his question 17:04 CET.

Just 2 things:

First: Zend_Translate can not handle bilge pumps. I think you meant the ISO-8859-1 standard. Second: I am using the western european standard myself in the testbed and in my applications without any problems.

Zend_Translate does not change any source... if your source is UTF you will get UTF. If it's Win1503 you will get Win 1503...

Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

----- Original Message ----- From: "Pádraic Brady" <[EMAIL PROTECTED]>
To: "Spring Pierre" <[EMAIL PROTECTED]>
Cc: "Zend Framework General" <[email protected]>
Sent: Tuesday, June 10, 2008 9:27 PM
Subject: Re: [fw-general] Zend_Translate in iso-8859-1


Maybe Thomas can clarify, since I don't use ISO-8849-1, but in the TMX adapter I noted it's using the XML Parser extension but it doesn't specify an output encoding. As far as I know the default out encoding, independent of the input encoding, is UTF-8. Could this be creating a subtle encoding transfer? In goes ISO-8849-1, out comes slightly corrupted UTF-8 for Pierre's 00F6 umlauts?

Pádraic Brady

http://blog.astrumfutura.com
http://www.patternsforphp.com
OpenID Europe Foundation Member-Subscriber




----- Original Message ----
From: Spring Pierre <[EMAIL PROTECTED]>
To: Wolfgang Forstmeier <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Tuesday, June 10, 2008 4:17:54 PM
Subject: Re: [fw-general] Zend_Translate in iso-8859-1

dear wolfgang,

i build a Zend_Form and need the validation messages to be
translated.

i wrote an xml file with the error messages [1]. i tried both, an
iso-8859-1
and utf-8 version of the xml file.

i then attach the translation to the form and render it. cf. [2]

i seem to have a problem with encoding though.

Maybe some more description what is going wrong would be nice.
What is really wrong ?

the encoding seems to be wrong . i'd need to output ISO-8859-1, yet
it outputs UTF-8.

the xml file i read the translations from is in ISO-8859-1 ...

c.f. screenshot [1]

greetings ... pierre

==
[1] http://wiki.caillou.ch/_media/code:zend_translate_encoding_problem.png
--
Liip AG // Rte de la Fonderie 7 // CH-1700 Fribourg
Fon 026 4222511 // Key id 0x5BF5F8FA // www.liip.ch

Reply via email to