Re: strange unicode behaviour

Fred Toussi <[email protected]>
Newsgroups gmane.comp.java.hsqldb.user
Message-ID <1365587940.21239.140661215780637.08A199B8@webmail.messagingengine.com>
Yes. This problem was found and fixed for the next release.

If you need this for 2.2.9, you try updating the code by comparing with
the latest SVN version of org.hsqldb.Scanner

Fred

On Wed, Apr 10, 2013, at 6:21, Dean Oemcke wrote:

Hi,
Just thought I'd mention some strange behaviour I have encountered when
trying to insert unicode characters within an INSERT or UPDATE
statement ( Hsqldb v2.2.9).
UPDATE foo SET bar = U&'\00E9'
As far as I'm aware, this should translate to the é character. However
it seems to convert to the equivalent of u000E.

It turns out that shifting the characters one to the left seems to
produce the desired result (although you are still forced to enter a
redundant 4th character which seems to get ignored). ie:

UPDATE foo SET bar = U&'\0E90'

The above produces the desired result of é
To me this seems a bit odd? Just thought I'd mention it in case it's a
bug.
Cheers,
Dean

-----------------------------------------------------------------------
-------

Precog is a next-generation analytics platform capable of advanced

analytics on semi-structured data. The platform includes APIs for
building

apps and a phenomenal toolset for data science. Developers can use

our toolset for easy data analysis & visualization. Get a free account!

[1]http://www2.precog.com/precogplatform/slashdotnewsletter

_______________________________________________

Hsqldb-user mailing list

[2][email protected]

[3]https://lists.sourceforge.net/lists/listinfo/hsqldb-user

References

1. http://www2.precog.com/precogplatform/slashdotnewsletter
2. mailto:[email protected]
3. https://lists.sourceforge.net/lists/listinfo/hsqldb-user

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

_______________________________________________
Hsqldb-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hsqldb-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.