[Pharo-project] Smalltalk condenseChanges -> 'Invalid utf8 input detected'

Stéphane Ducasse stephane.ducasse at inria.fr
Fri Sep 25 16:39:00 EDT 2009


Ok we will have to investigate.

Stef

On Sep 25, 2009, at 10:31 PM, John M McIntosh wrote:

> Actually I had loaded my fractions work into a new Pharo image from an
> MC http repository
>
> (a) I was using Character lf hard coded in a string as '[]' , but
> something in the Pharo MC load logic converted the '[]' to Character  
> cr
>
> That of course trashed things when I"m doing 	self should: [self
> enteredData = '1+2=[]3'].  where the [] is Characer lf in MC, but
> becomes Character cr magically...
>
> (b) Lastly I have for example two character sequence in a string of
> decimal value 195 and 183  which is a translation of character value
> 247  (÷) to a two byte UTF-8 value
>  mmm like '÷' asNSStringUTF8FromAscii where the UTF8FromAscii
> translates from the iso8859-1 code page to a UTF8 value.
> http://www.utf8-chartable.de/
> http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html
>
> Not sure which trigged the fault, if in fact the two above points are
> the problem.
>
>
> On 2009-09-25, at 1:12 PM, John M McIntosh wrote:
>
>> Yes I had the same problem a few days back, so the problem is back.
>>
>>
>> On 2009-09-25, at 12:38 PM, Mariano Martinez Peck wrote:
>>
>>> Hi: I am trying to evaluate a Smalltalk condenseChanges  but I am
>>> getting a 'Invalid utf8 input detected'
>>>
>>> This seems to be this bug: http://code.google.com/p/pharo/issues/detail?id=830
>>>
>>> but that bug seems to be fixed. I can still reproduce it. Can
>>> anyone confirm this ?
>>>
>>> I attach log.
>>>
>>> Cheers,
>>>
>>> Mariano
>>> <PharoDebug.log>_______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project at lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>> --
>> =
>> =
>> =
>> =
>> =
>> = 
>> =====================================================================
>> John M. McIntosh <johnmci at smalltalkconsulting.com>   Twitter:
>> squeaker68882
>> Corporate Smalltalk Consulting Ltd.  http://
>> www.smalltalkconsulting.com
>> =
>> =
>> =
>> =
>> =
>> = 
>> =====================================================================
>>
>>
>>
>>
>
> --
> =
> =
> =
> = 
> = 
> ======================================================================
> John M. McIntosh <johnmci at smalltalkconsulting.com>   Twitter:
> squeaker68882
> Corporate Smalltalk Consulting Ltd.  http:// 
> www.smalltalkconsulting.com
> =
> =
> =
> = 
> = 
> ======================================================================
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project





More information about the Pharo-dev mailing list