SqueakJS icon indicating copy to clipboard operation
SqueakJS copied to clipboard

Scratch text rendering unicode issue

Open codefrau opened this issue 4 years ago • 1 comments

on https://squeak.js.org/scratch/#fullscreen the language menu (globe icon) creates a menu with a malformed marker that looks like ,Ä¢. That probably is a 3-byte UTF-8 sequence that is not properly decoded.

codefrau avatar Mar 17 '20 00:03 codefrau

The Smalltalk code does not expect that neither UnicodePlugin nor Pango2Plugin are available, so it falls back on the Squeak text rendering without using asMacRoman to convert the UTF8 string created in languageMenu: back to Squeak encoding.

codefrau avatar Mar 17 '20 02:03 codefrau