[Vm-dev] Help: weird bug in inspecting characters

Tobias Pape Das.Linux at gmx.de
Mon Jul 2 18:59:17 UTC 2018

> On 02.07.2018, at 20:55, K K Subbu <kksubbu.ml at gmail.com> wrote:
> On Monday 02 July 2018 11:56 PM, Tobias Pape wrote:
>> That being said, I just saw that the fileList forces MacRoman encoding (deprecated since MacOS X 10.0 in 2001....) which _has_ a proper meaning for 128, namely Ä. However, the respective method probably needs an overhaul:
> Should FileList default to binary stream and let the service handler set the converter and ascii/binary flag?
> In my case, it is ChangeList class that is setting the converter:
> ----
> browseStream: changesFile
> 	"Opens a changeList on a fileStream"
> 	| changeList charCount |
> 	changesFile readOnly.
> 	changesFile setConverterForCode.
> ----
> The smartRefStream starts at 22705 bytes into x.cs (see pic) but I don't see the scanner switching the converter back to binary stream.

Yea, I don't actually know what's sensible here.
IIRC, MacRomanTextConverter used to be 1:1-8bit, so everything worked by chance, but that time has apparently gone…

Best regards

> Regards .. Subbu
> <refstream.png>

More information about the Vm-dev mailing list