Skip to Content.
Sympa Menu

freetds - Re: ISO-code translation

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT umcc.ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: ISO-code translation
  • Date: Wed, 12 Apr 2000 20:16:30 -0400 (EDT)


Hi,

This appears to be hard coded in the freetds/jdbc driver (from Tds.java):

// charset
comm.appendString("iso_1", 30, (byte)0);
comm.appendByte((byte)5);

you should be able to change this to cp850 to request the right code page.
There should really be a way to set this though like there is in dblib.

Brian

On Wed, 12 Apr 2000, Andreas Tille wrote:

> Hello,
>
> formerly I was successfully accessing a MSSQL 7.0 Server with
> FreeTDS-JDBC. Now I have to access another server which was
> installed country code 850 (in contrast to the default 437).
>
> Is there any posibility to do the codepage translation without
> changing all my servlet code to get German Umlauts etc. right?
>
> Kind regards
>
> Andreas.
>
>
>
> ---
> You are currently subscribed to freetds as: camber AT ais.org
> To unsubscribe, forward this message to $subst('Email.Unsub')
>
>





Archive powered by MHonArc 2.6.24.

Top of Page