[BUG][BFAV] BFAV can't parse changesets with
non-ASCIIcharacters ( is this the culprit? what should it
look like? )
Thomas Koenig
tomkoenig at mindspring.com
Thu Jan 27 01:13:02 CET 2005
Right, and unfortunately, I've not yet learned how this should be
working.
So any advice would be appreciated
> -----Original Message-----
> From: Yoshiki Ohshima [mailto:yoshiki at squeakland.org]
> Sent: Wednesday, January 26, 2005 4:16 AM
> To: tomkoenig at mindspring.com
> Cc: Frank.Shearar at rnid.org.uk;
> squeak-harvest at lists.squeakfoundation.org
> Subject: Re: [BUG][BFAV] BFAV can't parse changesets with
> non-ASCIIcharacters ( is this the culprit? what should it look like? )
>
>
> > attachmentFileNames: attachments forId: aNumberOrString
> > | attachmentFileNames attachmentsDirectory|
> > attachmentsDirectory _ self attachmentsDirectoryForId:
> aNumberOrString.
> > self emailsDir createDirectory: attachmentsDirectory localName.
> > attachmentFileNames _ OrderedCollection new.
> > attachments
> > do: [ :each | | stream file |
> > (each isKindOf: MailMessage)
> > ifTrue: [ stream :=
> MultiByteBinaryOrTextStream with: each body
> > content.
> > stream
> converter: Latin1TextConverter new.
> > stream reset.
> > file _
> attachmentsDirectory fileNamed: (attachmentsDirectory
> > localNameFor: each name).
> > file converter:
> Latin1TextConverter new.
> > file
> nextPutAll: stream contents.
> > file close.
>
> This one doesn't seem to work for the text with non-latin1
> characters, I presume?
>
> -- Yoshiki
>
More information about the Squeak-harvest
mailing list