I have this HTML file
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML DIR="RTL" LANG="HE"> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=Windows-1255"> </HEAD> <BODY> <H1>úåøä</H1> <H1>úåøä ðáéàéí åëúåáéí</H1> </BODY> </HTML>
It is saved as ANSI in notepad. And when opened in a browser, it displays some hebrew characters fine.
Note, Chrome can handle UTF-8 just as well and it can be copied into Ms Word 2010 just as well.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML DIR="RTL" LANG="HE"> <HEAD> <meta http-equiv="content-type" content="text/html;charset=UTF-8"> </HEAD> <BODY> <H1>תורה נביאים וכתובים</H1> </BODY> </HTML>
But the following discussion involves copying/pasting from the Windows-1255 one.
Copy to Clipboard in Chrome
Pasting into ms word 2010
I can use my web browser, to convert that Windows-1255 into unicode(eg as UTF-8).
For example, with that HTML. Chrome converts
úåøä ---> תורה
úåøä ðáéàéí åëúåáéí --> תורה נביאים וכתובים
But how can I convert the other way?
For example, suppose I have a file I write in notepad
תורה תורה נביאים וכתובים
I might save it as UTF-8 or not at all. I could leave it in an untitled file.
How do I convert it into
úåøä úåøä ðáéàéí åëúåáéí
If I find a webpage with the hebrew written on it, and I view source in chrome, I see it in hebrew, and I save it and it comes up in Windows-1255. As happens with http://www.mechon-mamre.org/i/t/t0.htm That is because the file itself is stored in Windows-1255 And if one saves it and opens it in notepad, one sees that.
If I copied the hebrew characters into a file and saved it as utf-8 it'd display in Chrome but I can't see how to convert it to windows-1255.
I can't see how to even get notepad to save hebrew characters as windows-1255