SIXX for VAST and Umlauts

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

SIXX for VAST and Umlauts

jtuchel
I know, I know... sorry, but we Germans have a few extra letters in our alphabet...

Has anybody taken the time to look into Julian's SIXX port on VASTGoodies? It writes XML files with Umlauts (instead of Unicode entries), but doesn't read them back in nicely.

When you stream out a String containing the Word "Türzarge" using #sixxString, the XML output looks fine (on the same machine, because it is in the local charset), but reading it back in with #readSIXXFrom: it becomes "Trzarge".

I must say I never stumbled upon this problem over the years (there was an older version of SIXX available for many years that we used), but only because the data we serialized was in english ;-)

So I guess this is just another occasion that underlines the importance of Unicode support for VAST and a glimpse at what gigantic mountain of work lies ahead of us to make use of it when it's available...

Joachim

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/gRNuNndsnwsJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en.
Reply | Threaded
Open this post in threaded view
|

Re: SIXX for VAST and Umlauts

SebastianHC
Hi Joachim,

checkout the changes in AbtXMLStreamConverter class>>#encodingFromStream: .
Load an older version which does not return 'UTF-8' by default but also nil.

Using this edition "should" make your SIXX port work with Umlauts.

Cheers!
Sebastian


Am 31.12.2011 16:15, schrieb [hidden email]
I know, I know... sorry, but we Germans have a few extra letters in our alphabet...

Has anybody taken the time to look into Julian's SIXX port on VASTGoodies? It writes XML files with Umlauts (instead of Unicode entries), but doesn't read them back in nicely.

When you stream out a String containing the Word "Türzarge" using #sixxString, the XML output looks fine (on the same machine, because it is in the local charset), but reading it back in with #readSIXXFrom: it becomes "Trzarge".

I must say I never stumbled upon this problem over the years (there was an older version of SIXX available for many years that we used), but only because the data we serialized was in english ;-)

So I guess this is just another occasion that underlines the importance of Unicode support for VAST and a glimpse at what gigantic mountain of work lies ahead of us to make use of it when it's available...

Joachim
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/gRNuNndsnwsJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en.