in reply to Re: Mildly OT: Excel Order Forms -> XML -> MySQL -> HTML with unicode
in thread Mildly OT: Excel Order Forms -> XML -> MySQL -> HTML with unicode

Thanks, this solved my problem, after some playing (and forgetting about the problem for a bit). When I was viewing the page containing the Unicode characters, I viewed "Page Information" in my browser. Turns out Apache was specifying the charset as ISO-8859-1 in its HTTP Response, and this was overriding my browser's interpretation of the Meta tags. A quick

$q->charset("UTF-8");
in my display code, and everything is fixed.
Cheers!


davis
It wasn't easy to juggle a pregnant wife and a troubled child, but somehow I managed to fit in eight hours of TV a day.
  • Comment on Re^2: Mildly OT: Excel Order Forms -> XML -> MySQL -> HTML with unicode
  • Download Code