screen-devel
[Top][All Lists]
Advanced

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

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


From: Random832
Subject: [screen-devel] How does all this encoding stuff work?
Date: Sun, 05 Dec 2010 02:53:22 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

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?



reply via email to

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