[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extra character 194 appearing in network stream
From: |
Patrik Jonsson |
Subject: |
Re: Extra character 194 appearing in network stream |
Date: |
Sat, 17 Feb 2007 10:53:24 -0800 |
User-agent: |
Thunderbird 1.5.0.9 (Windows/20061207) |
Andreas Schwab wrote:
> Patrik Jonsson <address@hidden> writes:
>
>
>> (string-bytes (let ((i 200))
>>
>
> string-bytes does _not_ give the number of characters in a string. Since
> you have a multibyte string, it may contain more bytes than characters.
> You need to apply the appropriate encoding before sending it to the
> network stream.
>
I see. Under what circumstances does it do this? I have
(setq default-enable-multibyte-characters nil)
which I thought would turn multibyte characters off?
Regards,
/Patrik J.
signature.asc
Description: OpenPGP digital signature