metacello icon indicating copy to clipboard operation
metacello copied to clipboard

Copying a filetree package with embedded multi-byte characters to an .mcz is trouble

Open dalehenrich opened this issue 9 years ago • 3 comments

see the mail from Pieter for details

dalehenrich avatar Jan 29 '15 19:01 dalehenrich

in Pieter's case, the file is being copied from filetree to mcz file, I also need to throw an error if one attempts to write an mcz with multi-byte method source or comments ...

dalehenrich avatar Jan 29 '15 20:01 dalehenrich

Can't we just encode to utf-8?

krono avatar Jun 22 '15 18:06 krono

.mcz files do not specify an encoding ... if you end up creating a WideString the .mcz file is created with an instance of WideString which causes any non-Squeak based mcz reader to blow chunks at best or produce total jibberish at worst ...

dalehenrich avatar Jun 29 '15 21:06 dalehenrich