On Tue, 22 Jan 2002, Ira Abramov wrote:

> On Tue, 22 Jan 2002, Tzafrir Cohen wrote:

>
> > > are those translations built into PHP and Zope?
> >
> > No need to. For them this is simply a text string. They don't really care
> > about its encoding (I believe).
>
> and when I send something by html POST or GET, the client sends it in
> which encoding? the one of the page from which I posted? the default
> one? the one the widget set picks (Qt/Gtk)?
>
> grrr... I wish it all just worked Unicode :)

I believe that clients use the html page's codepage by default. So if the
page has ISO-8859-8-i codepage, forms will be submitted in ISO-8859-8-i,
and if the page is in UTF-8, forms will be submitted in UTF-8.

At least this is how it worked for me.

>
> > Unless you need to do some sorting. I haven't given enough thoughts to
> > that.
>
> Thoselittle things always get ya. well at the moment I am having
> trouble installing postgreSQL with he_IL rather than C as the LANG. for
> all I know maybe none of it is important...
>
> > > time to check out Hebrew for VIM. is it still a special compile time
> > > option, or is it in by default? if anyone knows, please add this info to
> > > the IGLU FAQ too...
> >
> > Not related to the "hebrew" support.
>
> well, to type Hebrew in VIM, like any other editor, it needs RTL
> support. all the keytables and UTF can'tget around that, unless you use
> "Karmeli" or read Hebrew text in LTR. I do it once in a while, but it
> gives me brain hemorhedging.

VIM's "RTL support" is that it mirrors the whole display (so you can see
the hebrew properly, but not the englsih). I got used to work with it, for
lack of better good alternative.

Other alternatives: get the latest xterm (supports unicode) and the patch
for bidi (already built into mandrake's xterm). Or run it under biditext.
Or use the editor called QEmacs.

>
> heyyyy... anyone wants to translate a weblog to Karmeli? Adi, that's a
> classic, you have to admit :)
>
> for all thosein the dark: http://www.karmeli.org/
>
> > vim 6.0 added a number of relevant features:
> >
> > 1. a general-purpose keyboard layout facility (although we already had a
> >  hebrew and a farsy layouts)
> > 2. Support for editing UTF-8 text files.
>
> ok, some research on my VIM 6.0.118 (latest Debian Sid for the rest of
> you) and VIM 6.0z alpha (RHL 7.1 Seawolf),
>

BTW: mandrake 8.1 has 6.0-0.40mdk and it has a number of small bugs (a
number of times it got into a 100% cpu loop when I killed it, and I had to
use kill -9, for instance)

>  ":help rightleft.txt" is now ":help rightleft" which points in turn to
>  ":help rileft.txt"
>
> I was happy to find, that the rightleft option is compiled into the vim
> deb and RPM packages mentioned.
>
> what it basically says, ":set rl" to flip screen, ":set hk" to translate
> keyboard map when entering text (the double-shift hack to change xkb
> won't do any good, and you want to have regular keymap when in command
> mode anyway).

See http://linux.org.il/pub/Hebrew/vimrc_hebrew

It could use some editing, but it will give you some useful bindings.


>
> as for editing UTF-8, ":set encoding=utf-8" does the trick of setting
> the encoding entered,

OK. It definitly needs updating.

> however I could not make it display it correctly
> on Eterm, gnome-term or konsole

I would try 'xterm -u8' and konsole, as they both should support unicode
display. This also applies to the linux console, in a way.

-- 
Tzafrir Cohen                        /"\
mailto:[EMAIL PROTECTED]        \ /  ASCII Ribbon Campaign
Taub 229, 972-4-829-3942,             X   Against  HTML  Mail
http://www.technion.ac.il/~tzafrir   / \


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to