> I am impressed with pp and PAR, however I have come across a 
> problem concerning utf-8 data. The script uni2hex.pl 
> recognizes the utf-8 characters when run on rh9 using their 
> perl. The output is given in uni2hex.pl_output. The problem 
> is that after running pp the resulting executable ran in the 
> same directory in the same machine does not recognize the 
> utf-8 characters but splits them into there ansii parts. The 
> output from a.out is given in a.out_output.
> ...                                                                      
> This may be because of something different about the setup of 
> perl on rh9, if so it would be useful to be able to include 
> this feature in executables made by pp. 

I can confirm that behaviour on Debian Sid (Perl 5.8.4),
so it's not a Redhat specific problem. I had to set
PERL_UNICODE=CSL in the environment and also set LANG
to a utf8 locale in order for uni2hex.pl to produce the
expected output, though. The pp generated executable would
not recognize utf8 characters even with these settings.

Cheers, Roderich 

Reply via email to