Re: trouble with asprintf

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

 



I demand that Ludwig Nussel may or may not have written...

> Darren Salt wrote:
>> I demand that Ludwig Nussel may or may not have written...
>> [snip]
>>> asprintf needs to check for multibyte characters to not cut them in
>>> the middle and produce invalid output.
>> No - it's encoding-neutral. [...]

> Try the following with 'LANG=C' and 'LANG=de_DE.UTF-8'. You will notice
> that in the latter case it will not cut the umlaut.
[snip code - hmm, dodgy use of printf]

Interesting. It omits it entirely. But the rest of my point still stands - it
still counts bytes.

-- 
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Burn less waste. Use less packaging. Waste less.     USE FEWER RESOURCES.

This message was brought to you using only 100% recycled electrons.

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux