Filein and fileout both need to be aware of characters over 127 and handle them correctly (for some value of correct). There are issues, although details are not resolved since both unix and jadeite/dolphin are prone to lying about extended characters.
When loaded via topaz into the image and viewed in Jadeite, it displays like this:
Fileout from Jadeite is garbled, but writing to the project creates (what look like) correct results
Filing in from Jadeite however looks like this:
Fileout from Jadeite looks pretty good, but writing to the project, the source is garbled.
We do not need full support for filein/fileout of extended characters, but we do need to make sure we can avoid corruption introduced during filein; if nothing else, make it an error to attempt to filein (or fileout?) code with extended characters. The filein/out can still be done in topaz and the display is (holding nose) reasonable.
Filein and fileout both need to be aware of characters over 127 and handle them correctly (for some value of correct). There are issues, although details are not resolved since both unix and jadeite/dolphin are prone to lying about extended characters.
Given a method such as
When loaded via topaz into the image and viewed in Jadeite, it displays like this:
Fileout from Jadeite is garbled, but writing to the project creates (what look like) correct results
Filing in from Jadeite however looks like this:
Fileout from Jadeite looks pretty good, but writing to the project, the source is garbled.
We do not need full support for filein/fileout of extended characters, but we do need to make sure we can avoid corruption introduced during filein; if nothing else, make it an error to attempt to filein (or fileout?) code with extended characters. The filein/out can still be done in topaz and the display is (holding nose) reasonable.