[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hebrew ANSII codes



> >Ha Ha Ha,
> >It's like searching for a needle in bunch of straw.
> Well, I have a program for dos, that reliably converts DOS Hebrew
> character set <-> Windoze Hebrew character set. Also, seems that following
> may do the trick:
> $_ = join("",map { $x=ord($_);chr($x>=0x80&&$x<0xA0?$x+0x60:$x) } split(//,$_));
This is not a problem tr() will do it as posted before...

> >I wanted to write a few libraries for this ( I've just needed them to do
> >something and I don't care others to use them for free ) But I didn't find
> >no specs no algorithms of how these layout works. I think this is a shame
> There is no algorithm. Or, to be more precious, there is a bunch of.
> Hebrew of Word and Hebrew of Wordpad are two different hebrew supports. 
So how about establishing some contrib repository with converters for
HebrewPad HebrewWord and etc... will save a lot of sleeping hours...

Eli, If Stanislav says that there is no standard algorithm can you please
share with us how did you succeed to support all of them? 

> Try cut-and-paste between them and see. If you insert english text,
> numbers, punctuation, etc - effects will be really like in Disney movies.

I beleive you, (I can't do that since my PC is Linux only for a long time)
It's just that I avoid any web hebrew related projects because of this
[hebrew]. I don't know if you remember once there was a virtual PC store
called mardanit.co.il I designed it and everything went well untill I was
requested to convert everything into Hebrew, it was a hell for me...
(still is)  I could easily type Hebrew in Linux but Windoze users have had
problems (part of them) and even if it was OK, they couldn't print the
page -- it was reverse... 

> >Actually I wrote a lib to convert from Visual to Logical, but I did
> >reverse engineering and because of that I couldn't complete theis little
> Well, I wrote it about ten times... Every time there is a windoze program
> that has different hebrew... Not to mention web browsers, that think that
> "internationalization" means having support for two languages and
> optional corean interface. 
As I said lets start collecting it somewhere and link from Linux HOWTO, I
think it'll be a great contribution!

> No use... May be if someone would break some hard and rough things on
> heads of "hebrew support" developers, crying loud "Design before you
> program! Debug your code! Don't call bugs "features"! Follow specs!", then
> it would help a bit... >;))
Are you dreaming :-)

I even think that these things are like that on purpose. Suppose that any
Hebrew application would work with the same spec, then Micro$oft's word
processor user might switch to another word processor taking all created
docs with him. So by obscuring their spec they keep their buyers (not that
israelis buy sw...)

BTW, We have a lot of subscribers here, Do someone works for Microsoft?
Retoric question...

______________________________________________________________________
Stas Bekman     mailto:sbekman@iil.intel.com [just another webmaster]
Home Page:      http://www.eprotect.com/stas
A must visit: 	http://www.eprotect.com/stas/TULARC (Java,CGI,PC,Linux)
Linux-il Home:  http://www.linux.org.il/