Re: Save character special Ñ into database

"Carlos Portugal B." <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.