[Top][All Lists]

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

[Monotone-devel] Re: iconv diffs [Was: Why is utf8...]

From: Lapo Luchini
Subject: [Monotone-devel] Re: iconv diffs [Was: Why is utf8...]
Date: Fri, 16 Feb 2007 18:07:26 +0100
User-agent: Thunderbird (X11/20070129)

Ulrich Drepper wrote:
>   iconv -f UTF-8 -t ASCII//IGNORE,TRANSLIT
> And don't even think about contradicting me, I invented all this.

You may we have invented that, but it doesn't work at all in the iconv
1.9.2 that's installed on my FreeBSD box :P

% echo "\xE3\x83\x9D" | iconv -f UTF-8 -t ASCII//IGNORE,TRANSLIT
iconv: conversion to ASCII//IGNORE,TRANSLIT unsupported
% echo "\xE3\x83\x9D" | iconv -f UTF-8 -t ASCII//TRANSLIT,IGNORE
iconv: conversion to ASCII//TRANSLIT,IGNORE unsupported
% echo "\xE3\x83\x9D" | iconv -f UTF-8 -t ASCII//TRANSLIT//IGNORE
iconv: conversion to ASCII//TRANSLIT//IGNORE unsupported
% echo "\xE3\x83\x9D" | iconv -f UTF-8 -t ASCII//IGNORE//TRANSLIT
   (nothing: that's correct)

And, on the Fedora box, it doesn't really seem to matter, IGNORE seems
to be ignored anyway:

% echo "\xE3\x83\x9D" | iconv -f UTF-8 -t ASCII//IGNORE,TRANSLIT
% echo "\xE3\x83\x9D" | iconv -f UTF-8 -t ASCII//TRANSLIT,IGNORE
% echo "\xE3\x83\x9D" | iconv -f UTF-8 -t ASCII//TRANSLIT
% echo "\xE3\x83\x9D" | iconv -f UTF-8 -t ASCII//IGNORE
iconv: illegal input sequence at position 4

Anyway, this evening I'll go and do some RTFS, which is of course the
only real way to have a real answer about behavior in software :P


reply via email to

[Prev in Thread] Current Thread [Next in Thread]