squeak-smalltalk / squeak-object-memory

Issues and assets related to the Squeak object memory.
https://bugs.squeak.org
MIT License
12 stars 1 forks source link

Inconsistent encoding between reading and writing .st files in FileList #15

Closed dram closed 2 years ago

dram commented 2 years ago

In Squeak 6.0 alpha, when I trying to edit .st file which contain Unicode characters, contents of this file will be disrupted after save.

According to changes of Tools-mt.1117 (http://lists.squeakfoundation.org/pipermail/squeak-dev/2022-January/218717.html), FileList>>setDefaultEncoderFor: will using UTF8TextConverter to reading .st and .cs files, but it seems that it has no effect when do writing.

dram commented 2 years ago

Submit a patch to The Inbox https://lists.squeakfoundation.org/pipermail/squeak-dev/2022-May/220229.html

marceltaeumel commented 2 years ago

Merged.