On Sep 26, 2005, at 4:21 PM, marc wrote:
>>> But the response will contain records using utf-8 which doesn't
>>> seem to
>>> display correctly. Try "lenin single works" .
>> I feel like the Ugly American because I do not know how to
>> resolve this problem, and it appears in many of my other
>> What encoding should I add to my output so it works correctly?
> well, whatever encoding there was used in the recods in the first
> My experience with all this encoding problems is that you need to
> do three-four things right
> 1) know which encoding you are coming from
> 2) know which encoding you want to go to
> 3) apply the right encoding transformation
> 4) label your XML with the right encoding afterwards
By changing my Perl code from:
print $cgi->header(-type => 'text/html');
print $cgi->header(-type => 'text/html', -charset => 'UTF-8');
I was able to make the query above work. Try:
I think I'm headed in the right direction.
Eric Lease Morgan
University Libraries of Notre Dame