Hi,
       I've tried writing special characters in DB using RunScript
class with Char set as UTF8,its working fine.
       But when taking back Up of H2 Db in some file,special
characters get corrupted.

       Thanks in Advance.

--Nimish

On Jun 1, 1:30 pm, Nim <[email protected]> wrote:
> Hi,
>       I'm trying to take backup of H2 DB into some file.
>       I've made a script file &  executing command "SCRIPT SIMPLE DROP
> TO 'backup.sql' ";
>
>       I m running below code from my Java program
>
> RunScript.execute("jdbc:h2:tcp://localhost/C:/Tools/apache-
> tomcat-6.0.16/bin/
> db;IGNORECASE=TRUE;USER=sa","sa","","nimish.sql","UTF-8",true);
> // try with putting null in charsetName bcoz null bydefault accept as
> UTF-8
>
> But i m  not able to write Russian charterers.
>
> --Nimish
--~--~---------~--~----~------------~-------~--~----~
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