From: Christian B. <cb...@th...> - 2002-10-15 16:26:35
|
Hi! On Mon, Sep 30, 2002 at 08:52:30PM +0200, [rSu]G-LiTe wrote: > [Mac <-> Unix text clipboard] > The thing is, I have no idea which characters actually differ between > the charsets. The MacOS "Roman" text encoding is described in http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/ROMAN.TXT For B2, I substituted some similar looking characters for those not in the ISO 8859-1 set. E.g. 0xA0 "dagger" gets translated to a '+'. > [...] I can't really turn it around because some mac characters seem to > have multiple iso equalevants. It's rather that some Mac characters have no ISO equivalents... The clipboard code in B2 should be completely rewritten some day. It should work in both directions, perhaps use Unicode internally for text conversion, and clip_unix.cpp still uses the obsolete X cut buffers. The problem is that I rarely use this stuff (in fact, I don't use it at all, I think...), so my motivation is a little low. A perfect 3rd-party opportunity. :-) > I attached a small audio patch [...] Cool. Thanks! :-) Bye, Christian P.S.: Please don't send your mail as HTML-only messages. mutt doesn't display them, and I usually delete them without looking any further because they are spam in >99.9% of all cases. -- / Coding on PowerPC and proud of it \/ http://www.uni-mainz.de/~bauec002/ |