On 08/29/2011 07:57 PM, Francois Gouget wrote:

On Sun, 28 Aug 2011, Shachar Shemesh wrote:
[...]
Yes. It's called "type". Take a Hebrew text stored in a Windows 1255 encoded file, and "type
file", see what happens. The order, if I understand this correctly, will be logical.
The Windows 7 console does not even support displaying the Hebrew 
characters. My understanding is that this is because the only fonts it 
lets you pick are lacking the required characters.

I tested this by creating a Unicode file with notepad (which displayed 
everything fine, in Windows 7), containing:
Yes, it does not support Unicode. That's why I said "1255", as in "Windows 1255", the ANSI encoding for Hebrew.
The first line was ok but the second one was either question marks or 
squares. The only fonts Windows will let me pick are 'Consolas', 'Lucida 
Console' and 'Raster Fonts'.
It should let you pick any monospace font. At least one of those should contain a Hebrew encoding. If not, you might need to set the default locale to Hebrew in order to test this (which will only be possible after clicking "add support for complex text layout languages", or something to similar effect, in Regional Settings). This will also install the Hebrew fonts.

Shachar



-- 
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com