Hi,

> encoding, the table uses utf-8, and maybe the compiled alias function does not

Your are right, I can reproduce the problem if I start H2 using java
-Dfile.encoding=ASCII.

H2 tries to compile the source code using the class
"com.sun.tools.javac.Main" if it is found in the classpath (it is for
me). If the class is not found, the Java source code file is stored in
the temp directory, and then "javac" is started as an external
process. I forgot to set the encoding to UTF-8 when storing and
compiling the file. As a workaround, it should work for you if you use
 java -Dfile.encoding=UTF-8 - but of course I will fix the problem
(actually it is now fixed in the trunk).

By the way, a complete test case is here:
http://h2database.com/p.html#27a911ac2be2600cecbbb202093f9593

Regards,
Thomas

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

Reply via email to