Forum Moderators: open
I'm wondering if there's something I need to do at the Perl level to make this work, for example perhaps something with the Encode module to encode/decode the HTML into GB2312 within Perl before sending it on to the browser.
If anyone has any advice or has solved a similar problem then I would be very grateful for the help.
My current code does the equivalent of the following, in case it's helpful in figuring out what the problem is:
#----------
use CGI 'header';
my $html =
q[<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
]; # etc etc, including chinese characters
print header(-charset=>'gb2312'), $html;
#----------
Many thanks.
s1developer