Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Peter Michael
November 5, 2004, 12:13 am
rate this thread
Re: chr() and character set
Peter Michael wrote:
> perlfunc(1) says about chr()
> Returns the character represented by that NUMBER in the
> character set.
> Which character set is this exactly and how can it be
> controlled programmatically (in particular for arguments in
> the range 128..255)?
The short answer is Unicode. Which IIRC is the same as ISO-Latin1 for
But for details read the rest of the entry where it goes on to explain
If it doesn't then your version of Perl is old and doesn't understand
character sets. In that case strings are simply strings of bytes and
the concept of "which character set" does not apply.