Re: ed(1) text editor issue with Spanish accents

2017-12-04 Thread Martijn van Duren
Hello Alejandro, ed works on both binary and ASCII text, which are all individual bytes. Since ´ is an UTF-8 character, which comprises of the bytes C2 and B4, ed thinks it should only delete a single byte which results in only C2. Your terminal can't tell the meaning of just C2 which results, in

ed(1) text editor issue with Spanish accents

2017-12-03 Thread Alejandro G. Peregrina
Hello, I've noticed something unexpected when entering an accent character alone (´) and then deleting it in ed(1) in xterm(1). Instead of deleting it, it creates another character which is seen as an inverted exclamation (?) in the font 'misc-fixed'. How to reproduce: $ uname -a OpenBSD