Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > Umlaute
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 20th June 15:55
rico saupe
External User
 
Posts: 1
Default Umlaute



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello

I'm using MSJDBC as database-connection and mssql 2000.
connecting via the following code does well, but i have still problems
with the german umlaute (ä,ö,...)

String endcoding = "utf-8";
this.url = "jdbc:microsoft:sqlserver://" + server +
":1433;DatabaseName=" + dsn; className =
"com.microsoft.jdbc.sqlserver.SQLServerDriver" ;
propsDB.put("user", username);
propsDB.put("password", password);
propsDB.put("charSet", encoding);

curConn = DriverManager.getConnection(url, this.propsDB);


the language in mssql is set to german. i also set the charset manually
to utf-8. but still the same problem.

Can anyone help me?

Sincerely Rico
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)

iD8DBQE/tKgj92DTHRzRYbMRAkVGAJ9C7WbNrGxw8xr2pU0KNmeFE3L8og CgkIw7
xD5kqF7h9i1CPXNakUho0cU=
=SwKL
-----END PGP SIGNATURE-----
  Reply With Quote


 


Reply


Thread Tools
Display Modes




666