osks / jskom

jskom is a web based LysKOM client, written in Javascript. It uses httpkom for communication with the LysKOM server.
https://jskom.osd.se/
MIT License
11 stars 3 forks source link

Faulty rendering of unicode characters in heading for texts #50

Closed tored closed 8 years ago

tored commented 10 years ago

The carachter ł shows up as ? in heading.

See text 21011687 in conference 6341 for an example.

Edit: Or maybe thats the mail import script for that conference?

osks commented 8 years ago

I think this has to do with the font and/or browser. It works for me on OS X and Chrome

screen shot 2016-05-29 at 21 07 08

Please comment again if you still have the problem and let me know what OS and browser you are using.

osks commented 8 years ago

Sorry, I was looking in the wrong place. I have the same problem:

screen shot 2016-05-29 at 21 10 50
osks commented 8 years ago

It's the same in the elisp client. It is the aux item "mx-author" that is displayed as author (since there is no real person, just an imported e-mail).

screen shot 2016-05-29 at 21 19 08

This probably has to do with that the strings used the aux items are encoded in latin-1 which doesn't support that character. The text content can however have encoding information, and this text is encoded in utf-8, which support that character.

So this is a limitation in lyskom and not something that can be fixed in httpkom.