Issue with Hebrew characters in mysql
Analysis

Thanks for the updates; it makes things clear.

F1E5E1E0F8E5, is סובארו when interpreted in CHARACTER SET hebrew.

CREATE TABLE `table` (
) ENGINE=InnoDB DEFAULT CHARSET=hebrew


is not sufficient -- It is possible for each VARCHAR column to override the CHARSET.  I'll assume that you have not done that.

Since the HEX in the table is consistent with CHARSET hebrew, I will  assume the input side of things is consistent.

Solution 1

The "black diamonds" are coming from the output tool.  What tool are you using?  Looks like the mysql commandline tool?  That needs to know how to display the data.  By default (I think), it interprets the bytes it gets (from the SELECT) as being UTF-8.  But they are not.  Are you running on Windows or *nix?  I don't know the details of setting it to Hebrew, but that is probably the solution.

Solution 2

Another solution is to start your 'mysql' session with SET NAMES utf8; (or utf8mb4).  That will announce that you want the bytes in the client to be utf8.  As the Hebrew chracters are coming from the table, they will be converted to utf8, and will (I think, without trying it) dislayed correctly.  Meanwhile, the table will continue to be storing F1E5 E1E0 F8E5, etc.

HTML

If you will be displaying on web pages, keep in mind that browsers make guesses on what the encoding is.  You could help them by either doing Solution 2 so that they get UTF-8, which they will readily assume, or you can stick with ISO 8859-8 and help them with &lt;meta charset=...&gt; and &lt;form accept-charset...>` tags.

Please respond with the details of how you choose to solve the issue(s).  This is a scenario that is somewhat unusual.