[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-711) Support of several charset in import.sql file

Takayoshi Kimura (JIRA) noreply at atlassian.com
Wed Nov 14 01:39:29 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28825 ] 

Takayoshi Kimura commented on HBX-711:
--------------------------------------

I think UTF-8 is fine for most people, and easy to fix :)
new InputStreamReader( stream , "UTF-8"); 

> Support of several charset in import.sql file
> ---------------------------------------------
>
>                 Key: HBX-711
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-711
>             Project: Hibernate Tools
>          Issue Type: Improvement
>         Environment: Hibernate 3.2, all database platforms
>            Reporter: Thomas SEGISMONT
>            Priority: Minor
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> For the moment, only the default execution platform charset encoding is supported for the import.sql file. Indeed, in the org.hibernate.tool.hbm2ddl.SchemaExport class, the reader of that file is created like this :
> importFileReader = new InputStreamReader( stream );
> In my development team, we have windows, linux and mac os and we want to use UTF-8 (we need special chars like the euro sign).
> It would be helplful to have a way to tell Hibernate what charset encoding it should use.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list