David Scott wrote:

Um, guys, whatever happened to character entities for non-US ASCII characters (eg é for e-accent-aigu)? Seems to me it would be easy to write a filter to replace outgoing characters with their character entity equivalents, thereby avoiding character set issues.

d

Yeah I was thinking about doing that in a system I'm working on, then I realised the system might not be sending an HTML document - could be text or PDF or anything, so it's better to make sure the headers give the character set and that it matches whatever perl is set to (with use locale or something).

When I looked into it all properly I realised it'd be easier just to make everything use UTF-8, though I'm a bit worried about browser support for UTF-8 chars in newer browsers (eg. cellphones).

John


Reply via email to