Re: RE: Wide character in print error
Rick Measham <rick-6wk1kIbWGY9Wo+R/V/U2/[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.pdfapi2 |
|---|---|
| Message-ID | <[email protected]> |
Tim Turner wrote:
> I am outputting codes for trademark, copyright, and a bullet... Maybe those
> are unicode?
1 byte == 0 - 255 == 00 - AF
> $trademark = "\x{2122}";
2122 > AF == multibyte
> $registered_trademark = "\x{ae}";
AE < FF == single byte
> $copyright = "\x{a9}";
A9 < FF == single byte
> $bullet = "\x{2022}";
2022 > AF == mutibyte
So yes, you have multibyte characters in your PDF. Did you check the
locale on each system? I can't remember if anything significant happened
to unicode between 5.8.5 and 5.8.7 .. but I doubt it.
Cheers!
Rick Measham