Обсуждение: Saving spanish text into DB (as unicode)

Поиск
Список
Период
Сортировка

Saving spanish text into DB (as unicode)

От
saisantoshi
Дата:
Hello,

My requrement is,  I will get a spanish text and  will have to get the
unicode value and store in the database.

For example:

Spanish Text : ¿cómo estás

Should be saved in the database as

\u00??? ( like a unicode string)

I need to convert into unicode and store that in the database. Is this
possible? If yes, could you please let me know.

Thanks and greatly appreciate your help.

Thanks,
Sai.



--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Saving-spanish-text-into-DB-as-unicode-tp5774371.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.


Re: Saving spanish text into DB (as unicode)

От
dmp
Дата:
Hello,

Sample already sent on getting into database, so yes. Conversion
of characters to unicode is covered in any decent introduction programming
book.

danap.

saisantoshi wrote:
> Hello,
>
> My requrement is,  I will get a spanish text and  will have to get the
> unicode value and store in the database.
>
> For example:
>
> Spanish Text : ¿cómo estás
>
> Should be saved in the database as
>
> \u00??? ( like a unicode string)
>
> I need to convert into unicode and store that in the database. Is this
> possible? If yes, could you please let me know.
>
> Thanks and greatly appreciate your help.
>
> Thanks,
> Sai.
>
>
>
> --
> View this message in context:
http://postgresql.1045698.n5.nabble.com/Saving-spanish-text-into-DB-as-unicode-tp5774371.html
> Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.
>
>