Re: Problem with swedish characters...
Posted by: Peter Gulutzan
Date: May 15, 2006 01:29PM

Say
SELECT name,HEX(name) FROM test ORDER BY name;
If the result looks like this:
+---------+----------------+
| name | hex(name) |
+---------+----------------+
| Adam | 4164616D |
| Ärland | C384726C616E64 |
| Åke | C3856B65 |
| Östen | C3967374656E |
| Carl | 4361726C |
| Martin | 4D617274696E |
| Sven | 5376656E |
+---------+----------------+
7 rows in set (0.00 sec)
... Those are UTF-8 values, as
you'll notice from the fact that
non-ASCII characters take 2 bytes.
That can happen in a variety of ways.
For example, one can cut and paste
from a Unicode editor to a Unicode
shell, while claiming the client is
latin1.

Options: ReplyQuote


Subject
Views
Written By
Posted
5781
December 05, 2005 11:50AM
Re: Problem with swedish characters...
2693
May 15, 2006 01:29PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.