[Pharo-project] TextConverter 1.2 bug

Stéphane Ducasse stephane.ducasse at inria.fr
Wed Jan 19 16:22:33 EST 2011


It was in an old converter that was loaded by soup and overriding the code ....

Stef
On Jan 19, 2011, at 9:56 PM, Igor Stasenko wrote:

> On 19 January 2011 21:37, Stéphane Ducasse <stephane.ducasse at inria.fr> wrote:
>> Hi guys
>> 
>> when I execute
>>        CP1252TextConverter new in 1.1 it works
>> Now in 1.2 I get DNU charcode
> 
> charcode or charCode?
> 
> Character>>charCode
> 
> 	^ (value bitAnd: 16r3FFFFF).
> 
> is in Pharo1.2-12306
> 
>> 
>> 
>> CP1252TextConverter>>nextPut: aCharacter toStream: aStream
>>        aStream isBinary ifTrue: [^ aCharacter storeBinaryOn: aStream].
>>        aCharacter charCode < 128
>>                ifTrue: [aStream basicNextPut: aCharacter]
>>                ifFalse: [aStream basicNextPut: ((Character value: (self fromSqueak: aCharacter) charCode))].
>> 
>> aCharacter = $^
>> (self fromSqueak: aCharacter) = 128
>> 
>> Does anybody have an idea?
>> 
>> Thanks in advance.
>> 
>> Stef
>> 
>> 
>> 
> 
> 
> 
> -- 
> Best regards,
> Igor Stasenko AKA sig.
> 





More information about the Pharo-dev mailing list