What character set does encode the "é" character as 130 in decimal?

I'm doing an example Java application that uses JDBC to extract some data from MySQL. It works bad with the characters á, é, í, ó and ú, when these caracters are in the database my application shows strange characters such "," or "?". For example, if in the database there is the é character, when my application extracts it through jdbc as a byte, I get the byte 130. I have tried to find what character set is using my application when extracting data from my database.

I have not found any character set which encodes the "é" with the 130 number in decimal. ¿Can you help me to find it? I only need the character set name.

Jon Skeet
people
quotationmark

I suspect you're looking for IBM code page 437. (There may well be others that encode the same character in the same way, of course.) Whether a particular Java implementation knows about it or not is very implementation-specific though... on the machine I'm looking at, I believe it's available as charset "IBM437", but YMMV.

If you have control over the database, it would be best to ensure that all the data is stored with more portable encodings (e.g. UTF-8 or UTF-16). Note that you should be able to determine the current encoding by looking at the database schema.

people

See more on this question at Stackoverflow