Unicode errors cause coredumps

G

gusmeister

I run the latest stable version of Perl (v5.8.4) on Solaris 8.
"lib/HTML/Entities.pm" causes a segmentation fault when I use Unicode
characters (such as the French "o chapeau") in my strings. The Unicode
string is something like "cr\351dit d'imp\365t" (i.e. credit d'impot). Just
before the coredump, I see the following error messages:

Wide character in print at
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/HTML/Entities.pm line 435.

/cgi-bin/jsearch3.cgi?index=nametitle&sort=name&coll=currentâO©=fr&bool=and&
page=1&Terms=crédit d'impôt

Malformed UTF-8 character (unexpected end of string) at
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/HTML/Entities.pm line 438.

Malformed UTF-8 character (unexpected non-continuation byte 0x64,
immediately after start byte 0xe9) in substitution iterator at
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/HTML/Entities.pm line 438.


Does anyone know what's causing this and how to remedy it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top