mac-roman encoding borken?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

mac-roman encoding borken?

Philippe Marschall-2-3
Hi

We have some failing tests in Seaside in the latest versions of Pharo
that work in older versions. A short analysis seems to indicate that the
there are some issues with mac-roman support in current versions Pharo.
To be concrete the following code used to work in older versions but
fails for newer ones.

(('äöü' convertToEncoding: 'mac-roman') convertFromEncoding:
'mac-roman') = 'äöü'

Is anybody aware of any changes? Should I open a bug?

Cheers
Philippe


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: mac-roman encoding borken?

Nicolas Cellier
I don't know about the changes, but I know I cannot debug it in a core
image because debugger does not work at all... :(

Nicolas

2009/7/26 Philippe Marschall <[hidden email]>:

> Hi
>
> We have some failing tests in Seaside in the latest versions of Pharo
> that work in older versions. A short analysis seems to indicate that the
> there are some issues with mac-roman support in current versions Pharo.
> To be concrete the following code used to work in older versions but
> fails for newer ones.
>
> (('äöü' convertToEncoding: 'mac-roman') convertFromEncoding:
> 'mac-roman') = 'äöü'
>
> Is anybody aware of any changes? Should I open a bug?
>
> Cheers
> Philippe
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: mac-roman encoding borken?

Nicolas Cellier
Fortunately, an analysis of code clearly shows that
ByteTextConverter class>>#initializeTables
is broken (stamped 2/5/2009)

It maps characters with an offset of 128...

Nicolas

2009/7/26 Nicolas Cellier <[hidden email]>:

> I don't know about the changes, but I know I cannot debug it in a core
> image because debugger does not work at all... :(
>
> Nicolas
>
> 2009/7/26 Philippe Marschall <[hidden email]>:
>> Hi
>>
>> We have some failing tests in Seaside in the latest versions of Pharo
>> that work in older versions. A short analysis seems to indicate that the
>> there are some issues with mac-roman support in current versions Pharo.
>> To be concrete the following code used to work in older versions but
>> fails for newer ones.
>>
>> (('äöü' convertToEncoding: 'mac-roman') convertFromEncoding:
>> 'mac-roman') = 'äöü'
>>
>> Is anybody aware of any changes? Should I open a bug?
>>
>> Cheers
>> Philippe
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: mac-roman encoding borken?

Nicolas Cellier
See http://code.google.com/p/pharo/issues/list?updated=986

2009/7/26 Nicolas Cellier <[hidden email]>:

> Fortunately, an analysis of code clearly shows that
> ByteTextConverter class>>#initializeTables
> is broken (stamped 2/5/2009)
>
> It maps characters with an offset of 128...
>
> Nicolas
>
> 2009/7/26 Nicolas Cellier <[hidden email]>:
>> I don't know about the changes, but I know I cannot debug it in a core
>> image because debugger does not work at all... :(
>>
>> Nicolas
>>
>> 2009/7/26 Philippe Marschall <[hidden email]>:
>>> Hi
>>>
>>> We have some failing tests in Seaside in the latest versions of Pharo
>>> that work in older versions. A short analysis seems to indicate that the
>>> there are some issues with mac-roman support in current versions Pharo.
>>> To be concrete the following code used to work in older versions but
>>> fails for newer ones.
>>>
>>> (('äöü' convertToEncoding: 'mac-roman') convertFromEncoding:
>>> 'mac-roman') = 'äöü'
>>>
>>> Is anybody aware of any changes? Should I open a bug?
>>>
>>> Cheers
>>> Philippe
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project