encoding hebrew text

encoding hebrew text

Shlomi Fish shlomif at iglu.org.il
Wed Dec 16 11:22:42 IST 2009


On Wednesday 16 Dec 2009 01:09:29 Uri Even-Chen wrote:
> OK, I found a solution.  I opened the file with both notepad and
> notepad++, then I changed the encoding to windows-1255 in notepad++,
> then I copied all the contents to notepad and saved in utf-8.  It
> works.  I'm attaching the result.
> 
> Thanks!
> Uri Even-Chen
> Mobile Phone: +972-50-9007559
> E-mail: uri at speedy.net
> Blog: http://www.speedy.net/uri/blog/
> 

Just a note, one can use iconv or Perl's http://perldoc.perl.org/Encode.html 
module or something to convert an entire file from one encoding to the other:

<<<<
iconv -f windows-1255 -t utf-8 < 1.txt
>>>>

Seems to work here.

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Best Introductory Programming Language - http://shlom.in/intro-lang

Bzr is slower than Subversion in combination with Sourceforge. 
( By: http://dazjorz.com/ )



More information about the Linux-il mailing list