[vdr] trouble with asprintf
linux at youmustbejoking.demon.co.uk
Mon Feb 11 01:57:26 CET 2008
I demand that Wolfgang Rohdewald may or may not have written...
> On Sonntag, 10. Februar 2008, Udo Richter wrote:
>> What special handling does asprintf with utf8? Is there some example that
>> causes the trouble?
>> Worst case I can imagine would be that there's an invalid 0 byte inside
>> an utf8 multibyte char
> printf and family sometimes have to count characters, so I suppose they
> have to scan UTF
No; they only ever count bytes. The encoding is irrelevant.
| Darren Salt | linux or ds at | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Buy local produce. Try to walk or cycle. TRANSPORT CAUSES GLOBAL WARMING.
If a bus stops at a bus station, does work stop at a workstation?
More information about the vdr