Re: Unicode on macs (was: [Mutt] #1317: wish $edit_charset)
On 05-07-2009 11:48:03 +0200, Rocco Rutte wrote:
> Hi,
>
> * Vincent Lefevre wrote:
>
> > $ cat > foo
> >
> > Then type "abé" (without the quotes), then [BackSpace] twice, then
> > [Return] and Ctrl-D, then "cat foo". This is not just a mere bug,
> > this can be seen as data corruption!
>
> Well, that gives me a file containing just "a". Just because the UI
> looks almost the same, 10.3, 10.4 and 10.5 (all 3 being actively used I
> suppose) differ quite a lot. What version do you refer to?
On 10.4 this gives me a file containing "ab" regardless which shell I
use, or if I'm logged into a Solaris or Linux system (using ssh). So is
it OSX, its Terminal.app, oor is it just that cat is dealing with bytes
only? Vim correctly removes two characters as expected.
--
Fabian Groffen
Gentoo on a different level