pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Saving spanish text into DB (as unicode)
2+ messages / 2 participants
[nested] [flat]

* Saving spanish text into DB (as unicode)
@ 2013-10-12 08:23  saisantoshi <mr@starsborn.com>
  0 siblings, 1 reply; 2+ messages in thread

From: saisantoshi @ 2013-10-12 08:23 UTC (permalink / raw)
  To: pgsql-jdbc

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.


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Saving spanish text into DB (as unicode)
@ 2013-10-12 16:52  dmp <danap@ttc-cmc.net>
  parent: saisantoshi <mr@starsborn.com>
  0 siblings, 0 replies; 2+ messages in thread

From: dmp @ 2013-10-12 16:52 UTC (permalink / raw)
  To: pgsql-jdbc

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.
>
>



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2013-10-12 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-10-12 08:23 Saving spanish text into DB (as unicode) saisantoshi <mr@starsborn.com>
2013-10-12 16:52 ` dmp <danap@ttc-cmc.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox