#1066 mod_webpresence: charset not defined in html output
Reporter
OgresAreLikeOnions
Owner
Nobody
Created
Updated
Stars
★ (1)
Tags
Priority-Medium
Type-Defect
Component-Community
Status-New
Difficulty-Easy
OgresAreLikeOnions
on
If you open the html output in a browser you will see two garbled characters. In the modules sourcecode I found "\194\160" which is U+C2A0, a "hangul syllables". Is this correct? At least I don´t have a font for it ;)
The header information lacks the charset definition. Just set "text/html;charset=utf8" in mod_webpresence.lua:58 as content-type. The other output types below should be set too. At least if prosody supports unicode user-ids?
Prosody 0.10, latest mod_webpresence from svn.
If you open the html output in a browser you will see two garbled characters. In the modules sourcecode I found "\194\160" which is U+C2A0, a "hangul syllables". Is this correct? At least I don´t have a font for it ;) The header information lacks the charset definition. Just set "text/html;charset=utf8" in mod_webpresence.lua:58 as content-type. The other output types below should be set too. At least if prosody supports unicode user-ids? Prosody 0.10, latest mod_webpresence from svn.
That's a U+00A0 NO-BREAK SPACE