Firebird JDBC driver connection character encoding

前端 未结 3 2231
暖寄归人
暖寄归人 2021-02-20 17:21

I have a JSF application running on tomcat6 in Fedora 17 using firebird as the database and all the registers coming from the database to the application are coming with a encod

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-20 18:25

    Using encoding=ISO/UTF/WIN... query parameter in the JDBC connection URL has solved the problem.

    For example:

    jdbc:firebirdsql:url:db?encoding=ISO8859_1
    

提交回复
热议问题