Results 1 to 2 of 2
  1. #1
    marvin_ is offline Member
    Join Date
    Dec 2008
    Rep Power

    Default Encoding string from database

    I get some data from a postgresql database that uses sql-ascii.
    The content is in norwegian, and the letters , and turn into �.
    Everything on my side is utf-8.

    So is there any way that I can get jdbc to connect with something other than unicode? Or encrypt the string after I fetched it?

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Rep Power


    Yes there is (normally), and the documentation for the JDBC Driver you are using will contain the details.

Similar Threads

  1. encoding issue in jsp
    By sams11 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 11-25-2008, 08:55 AM
  2. [SOLVED] General string problem in my database query.....?
    By prabhurangan in forum New To Java
    Replies: 7
    Last Post: 06-25-2008, 09:55 AM
  3. Some help with encoding...
    By nm123 in forum Networking
    Replies: 0
    Last Post: 04-15-2008, 01:22 AM
  4. Replies: 0
    Last Post: 02-07-2008, 09:57 AM
  5. Database Column vs String Concatenation
    By varun_33 in forum JDBC
    Replies: 1
    Last Post: 12-11-2007, 05:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts