You seem to be without options when attempting to connect with *any*
Java application to a Sybase server with charset = roman8 :
10106 270704 jConnect now kills the connection when the
server's default charset is unsupported in Java
(and the client has not made a specific request
for a charset). When the client does not request
a specific charset, jConnect will attempt to use
the server's default charset. However, there are
cases where the server charset does not map to
Java (because there is no corresponding converter
in Java -- an example would be the roman8
charset). Previously, jConnect would allow the
Connection to be made, but the connection would be
unusable, as all further communications with the
server would result in an exception. jConnect now
throws at JZ0IB exception and does not allow the
connection to be made.
>From this link here:
http://download.sybase.pl/ebf_maint/jconn_na_55_ebf13252_20060414.txt
Specifically the phrase:
"However, there are cases where the server charset does not map to
Java (because there is no corresponding converter in Java -- an
example would be the roman8 charset)."
Anyone with specific knowledge of charset support in Java want to
comment on this apparent short-coming?
Rob
On 2/26/07, Burvil <bow...@ya...> wrote:
> Has anyone seen this error? I'm running the latest
> java (1.5.0_011), and can not to change the default
> charset on the server. I also tried copying other
> copies of charsets.jar and i18n.jar from other
> sources, including a couple from the sybase client
> install, and adding to the classpath. I did this by
> right clicking on 'Sybase Adaptive Server Enterprise'
> in 'Drivers' in the client, then 'Modify Driver', and
> 'Extra Class Path', and browsing to and adding the
> driver.
>
> Error message upon connecting:
>
> database_name: JZ0IB: The server's default charset of
> roman8 does not map to an encoding that is available
> in the client Java environment. Because jConnect will
> not be able to do client-side conversion, the
> connection is unusable and is being closed. Try using
> a later Java version, or try including your Java
> installation's i18n.jar or charsets.jar file in the
> classpath.
>
>
> ---------------------
> Burvil * http://www.burvil.org *
>
>
>
> ____________________________________________________________________________________
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail beta.
> http://new.mail.yahoo.com
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Squirrel-sql-users mailing list
> Squ...@li...
> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
>
|