Re: MYSQL doesn't 'see' accents
Posted by: Rick James
Date: June 28, 2010 07:59PM

| clientÞle | 636C69656E74C3A86C65 | 10 | 9 |
Interpretation:
The hex for 'c' is 63.
The hex for 'l' is 6C.
...
The hex for 'Þ' is C3A8. That is, this one _character_ is encoded in two _bytes_.

'clientÞle' is 10 _bytes_ long and 9 _characters_ long.

But... C3A8 is the utf8 for 'é', not 'Þ'.

Since you wanted 'é', you successfully stored the data as utf8. So, the puzzle is now on the other side of the problem -- reading the data out of the table.

I seem to be stumped as to how to turn a C3A8 into a thorn accidentally.

One of several references:
http://www.collation-charts.org/

Options: ReplyQuote


Subject
Views
Written By
Posted
4654
June 23, 2010 05:31PM
1913
June 23, 2010 09:34PM
2054
June 24, 2010 12:00AM
2201
June 24, 2010 03:14AM
1982
June 24, 2010 05:59AM
2048
June 24, 2010 04:09PM
2750
June 26, 2010 06:12AM
2092
June 26, 2010 12:04PM
2188
June 26, 2010 03:34PM
4043
June 26, 2010 06:46PM
2090
June 27, 2010 02:09AM
2055
June 27, 2010 12:48PM
2467
June 27, 2010 11:50PM
1942
June 28, 2010 12:13AM
Re: MYSQL doesn't 'see' accents
2046
June 28, 2010 07:59PM
1890
June 28, 2010 09:27PM
2441
June 30, 2010 01:29AM


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.