Re: Question about Double Encoding
Posted by: Rick James
Date: November 30, 2011 08:24PM

83 _decimal_ = 'S'
83 _hex_ = 131 _decimal_ = florin (the small f with hook) in the Windows. Search for 131 on
http://www.cs.tut.fi/~jkorpela/www/windows-chars.html

> when we looked at the selected columns through the MySQL command line client ...
> How was the client able to correctly interpret it?

When you did that, the terminal window did some decoding. The only way to safely see what is in a table is to do SELECT HEX(...). Alas, that only gives you the hex, and does not give you the decoding for it.

Also, look at the SELECT LENGTH(...), CHAR_LENGTH(...) for more clues.

Options: ReplyQuote


Subject
Views
Written By
Posted
3991
November 29, 2011 08:47AM
Re: Question about Double Encoding
2052
November 30, 2011 08:24PM


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.