On Tuesday, Jan 28, 2003, at 13:33 Europe/London, Matthew Smith wrote:

I have just upgraded to perl 5.8.0, It used to work ok in perl 5.6.1

Any ideas why the output of these lines should be different in XPathScript?

<%=findvalue('article/title'); %>

<% my $silly = findvalue('article/title'); print "$silly"; %>

The first line mangles all the utf-8 characters, the second line produces the utf-8 characters ok - they display properly in my browser and the output is utf-8. The source xml is definitely utf-8. This is not a cache problem.
Try editing /etc/sysconfig/i18n. Change the LANG variable to C or POSIX or just en_US.

Then you may need to reboot, I forget exactly whether you need to or not.

(this fixes a lot of other perl problems with 5.8.0 too, fwiw).

Matt.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to