[BUG][BFAV] BFAV can't parse changesets with non-ASCIIcharacters

Frank Shearar Frank.Shearar at rnid.org.uk
Tue Jan 25 17:05:56 UTC 2005


Yoshiki Ohshima <yoshiki at squeakland.org> wrote:
> I wrote:

> > It seems that MultiByteFileStream truncates the stream 
> incorrectly. You'll have to adjust the value of file 
> accordingly, but print this:
> > 
> > | file |
> > file := 'C:\Program 
> Files\Squeak-3.2.2\email-file-repository\bfav.squeakfoundation
> .org\emails\26180.eml'.
> > MultiByteFileStream readOnlyFileNamed: file
> > 
> > Is that because MultiByteFileStream needs a better/more appropriate
> > converter? ("MultiByteFileStream new converter" gives me
> > "Latin1TextConverter".)
> 
>   The change set seems to be in latin-1 encoding.  My question is how
> Göran created that change set.
> 
>   In 3.8 beta/gamma era, a change set should be in MacRoman if the
> file doesn't begins with three octet UTF-8 BOM, namely 100% compatible
> with pre-3.8, or in UTF-8.
> 
>   Some program inbetween might convert it to latin-1, I'd suppose.

Ah, which means that I might have grabbed the wrong end of the stick - maybe BFAV's writing out the changesets in the wrong encoding? I'll have to look further.

Thanks, Yoshiki!

frank


*******************************************************************
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. Any views or opinions expressed
are solely those of the author and do not necessarily represent
RNID policy.
If you are not the intended recipient you are advised that any
use, dissemination, forwarding, printing or copying of this
email is strictly prohibited.
If you have received this email in error please notify the RNID
Helpdesk by telephone on: +44 (0) 207 296 8282.
The Royal National Institute for Deaf People
Registered Office 19*23 Featherstone Street
London EC1Y 8SL No. 454169 (England)
Registered Charity No. 207720
********************************************************************




More information about the Squeak-dev mailing list