screen-devel
[Top][All Lists]
Advanced

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

Re: [screen-devel] How does all this encoding stuff work?


From: Sadrul Habib Chowdhury
Subject: Re: [screen-devel] How does all this encoding stuff work?
Date: Mon, 6 Dec 2010 18:05:07 -0500


On Sun, Dec 5, 2010 at 2:53 AM, Random832 <address@hidden> wrote:
I'm in the middle of making a patch to support digraphs for non-latin1 characters; i've got it working for UTF-8, but... I just cannot figure out how to get from point A to point B in the non-utf8 case.

For example, I have a digraph for U+0171 LATIN SMALL LETTER U WITH DOUBLE ACUTE [it's u" as in vim]. I can get x = 0x0171 all right. Now if, say, the current encoding is iso8859-2, how do I map from 0x0171 to 0xFB?

Should I give up and just make per-encoding digraph tables?

There's a digraph-related patch that you may find of use: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=387397

A per-encoding digraph table would be unfortunate. I think it'd be better to convert the digraph table values for the correct encoding at runtime.

Cheers.
Sadrul


reply via email to

[Prev in Thread] Current Thread [Next in Thread]