#1066 mod_webpresence: charset not defined in html output

Reporter OgresAreLikeOnions
Owner Nobody
Stars ★ (1)
  • Status-New
  • Component-Community
  • Priority-Medium
  • Type-Defect
  • Difficulty-Easy
  1. 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.

  2. Zash on

    That's a U+00A0 NO-BREAK SPACE

  3. MattJ on

    • tags Difficulty-Easy Component-Community

New comment

Not published. Used for spam prevention and optional update notifications.