Problem stored values in Oracle

If I enter in my website the value éI9Áq'ÜnPt• the last character is
replaced on the database by ¿

The problem is I have to test automatically that the content on the
database is the same that the content it was entered on the webpage and
I don't want to do something easy like replace characters.

Any idea how to solve it in a good way?

Thank you.

···

--
Posted via http://www.ruby-forum.com/.

I found the problem.
The language of the client and the server were different so I had to
change the value on the client side in regedit.

thank you.

···

--
Posted via http://www.ruby-forum.com/.

It's probably also a good idea to check character encoding of the
database and / or column because that affects how comparisons are done
and what characters you can store inside.

Kind regards

robert

···

2008/10/17 Mario Ruiz <mario@betware.com>:

I found the problem.
The language of the client and the server were different so I had to
change the value on the client side in regedit.

--
remember.guy do |as, often| as.you_can - without end

How can I check the encoding, encode and decode?

Thanks.

···

--
Posted via http://www.ruby-forum.com/.

If the column type is NVARCHAR2 it's Unicode. For more info, please
check Oracle's docs:

http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements001.htm#i45685

http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch2charset.htm#NLSPG002

Cheers

robert

···

2008/10/20 Mario Ruiz <mario@betware.com>:

How can I check the encoding, encode and decode?

--
remember.guy do |as, often| as.you_can - without end

Thanks a lot.

···

--
Posted via http://www.ruby-forum.com/.