Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Sybase connection error: JZ0IB: default charset of roman8 doesn't map: msg#00016

db.squirrel-sql.users

Subject: Re: Sybase connection error: JZ0IB: default charset of roman8 doesn't map

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 <bowei_99@xxxxxxxxx> 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
> Squirrel-sql-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
>

-------------------------------------------------------------------------
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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation