Log In  

@zep

I notice Benjamin Soulé's username doesn't show up right, even after your emoji fix.

See here:

https://lexaloffle.com/bbs/?tid=3421

Looks like this at my end:

It seems to work fine inside this post's text though.

Edit: Yeah, there's some kind of encoding issue, not a font issue, because if I copy and paste it here, it still comes out "Benjamin Soul�", even though I was able to write it correctly above.

P#59792 2018-12-07 09:17 ( Edited 2018-12-07 09:21)

1

Looks like classic double encoding. I ran into the same issue during PlayPico dev.

If you use <meta charset="utf-8"/> in the HTML, and you also send headers from the back end such as content-type: text/html; charset=UTF-8, which the BBS does, then the output will get double-encoded (UTF-8 to UTF-8 again) and accented characters will turn into the "unknown character" placeholder. Removing either the charset=UTF-8 from the content-type header, or the <meta charset="utf-8"/>, should fix it.

P#59813 2018-12-07 17:44 ( Edited 2018-12-07 17:48)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-19 12:25:08 | 0.010s | Q:10