[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: How to insert unusual characters in KWord?
From:       Thomas Zander <zander () planescape ! com>
Date:       2001-10-27 14:26:25
[Download RAW message or body]

On Sat, Oct 27, 2001 at 02:49:58PM +0100, shaheed wrote:
> I found it. FWIW, rfc2279 says...
> 
>    In UTF-8, characters are encoded using sequences of 1 to 6 octets.
>    The only octet of a "sequence" of one has the higher-order bit set to
>    0, the remaining 7 bits being used to encode the character value. In
>    a sequence of n octets, n>1, the initial octet has the n higher-order
>    bits set to 1, followed by a bit set to 0.  The remaining bit(s) of
>    that octet contain bits from the value of the character to be
>    encoded.  The following octet(s) all have the higher-order bit set to
>    1 and the following bit set to 0, leaving 6 bits in each to contain
>    bits from the character to be encoded.

Oh, then I misunderstood your question :(

To enter chars for a KWord file:
XML files take escaped characters: &#131; or &#1234;
You should also try to fetch and compile vim6 as it reads and writes utf-8 
encoded files and allows for all sorts of input methods.

-- 
Thomas Zander                                            zander@earthling.net
The only thing worse than failure is the fear of trying something new

[Attachment #3 (application/pgp-signature)]
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic