- Subject: Re: problem with non ascii chars in xjed on kubuntu 7.10
- From: "G. Milde" <milde@xxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 4 Dec 2007 11:27:55 +0100
On 4.12.07, Jörg Sommer wrote:
> "G. Milde" <milde@xxxxxxxxxxxxxxxxxxxxx> wrote:
> > On 1.12.07, Jörg Sommer wrote:
> >> Try this fix
> >
> >> + dfa_define_highlight_rule("[^ -~]+", "normal", mode);
> >
> > What does it do exactly?
> It assigns a colour to all non???ascii charaters. It seams DFA highlighting
> has no rule to colour negative characters, what the subcharacters of
> UTF???8 characters are.
Interestingly, Guidos latex mode has a rule
% all the rest
dfa_define_highlight_rule (".", "normal", name);
that does not help overcome this problem. (But why?)
> One might say that Jed displays the UTF???8 characters so broken, because
> it has no colour for them.
I assume, that with DFA syntax highlight in place, the "standard" routine
for displaying multi-byte chars is bypassed. Now, if there is no special
treatment by DFA highlighting routines (as no colour is defined) the
fallback display method for unprintable chars is used.
John, is this a bug or a feature?
> > Could it help to overcome the display problem with Umlauts in other modes
> > too?
> Yes.
It does. I fixed all my DFA highlighting modes and will upload to
Jedmodes soon.
This removed the last obstacle for switching my system to UTF-8.
Thanks
Günter
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2007 date index]
[2007 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]