Hello, when displaying the raw content of a list with this code: <dtml-call "REQUEST.set('myOptionList',['é', 'à', 'ù', 'è'])"> <dtml-var myOptionList> (The list values are extended characters for French accented letters. They may not display correctly in your mailer.) I get this output: ['\351', '\340', '\371', '\350'] So internally these characters are mapped to character codes. Where can I find reference information about this mapping system? Thanks. Alexandre
Alexandre Ratti wrote:
Hello,
when displaying the raw content of a list with this code:
<dtml-call "REQUEST.set('myOptionList',['é', 'à', 'ù', 'è'])"> <dtml-var myOptionList>
(The list values are extended characters for French accented letters. They may not display correctly in your mailer.)
I get this output:
['\351', '\340', '\371', '\350']
I guess it is called iso-8559-1 ? what you see are octal (NON)ASCII codes for the characters. The list is composed of 4 one-character strings, each shown as its octal code if outside the range 32 <= x < 127 ----------------- Hannu
participants (2)
-
Alexandre Ratti -
Hannu Krosing