Thanks for your help, the solution was:

"jdbc:postgresql://localhost:5432/BdWeb?charSet=LATIN1"

In this connection string (URL) i especify the charset to LATIN1.

regards,
Carlos.



Mensaje citado por "Nair, Pramod (Cognizant)" <[EMAIL PROTECTED]>:

> Check your JDBC driver. Specifically, try setting a CHARSET that supports
> special characters you need. We faced the same problem using
> SYBASE's JDBC driver on an HP-UX server once.
>
> regards
>
> Pramod Nair
>
>
> <Ne0>Are you trying to tell me that I can dodge bullets</Ne0>
> <m0rphEus>No, Neo. I'm trying to tell you that when you're ready - you won't
> have to!</m0rphEus>
>
>
> -----Original Message-----
> From: Carlos Portugal B. [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 01, 2003 4:55 AM
> To: [EMAIL PROTECTED]
> Subject: Save character special � into database
>
>
> Hello, i'm new in this list.
>
> I have a problem with the special characters (spanish characters), i
> execute
> SQL command:
>
> "INSERT INTO table1 (field1) VALUES ('ni�o')"
>
> The insert is ok, but when i see the table "table1" i see "ni?o", the
> special
> character � is replaced by ?.  How can i do?
>
>
> Please help me,
> Carlos.
>
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>


--

Carlos Portugal B.
Jefe de Sistemas.

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to