On Tue, Jun 29, 2010 at 05:22:02PM +0300, Avraham Rosenberg wrote:
> Hi,
> I need to get rid of a non-printing character in a Hebrew text originating
> from a doc file converted with catdoc.
> Receiving the output in vi, I can see that the offending character is xa0,
> and I can delete it with :g/Ctrl-Vxa0/s///g, but, unlike in the C locale, in
> the LANG=he_IL.UTF-8 locale, the same substitution does not work outside vim 
> (with sed, for example).
> How is it possible to do it?
> 
> avraham12a_s32:~$ uname -a
> Linux debian 2.6.26-2-686 #1 SMP Tue Mar 9 17:35:51 UTC 2010 i686 GNU/Linux

Actually answering the question in the subject line: can you try the
command-line option --viaucs (or through the configuration window:
"Encoding => Process received strings via unicode") ?

-- 
Tzafrir Cohen         | tzaf...@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzaf...@cohens.org.il |                    |  best
tzaf...@debian.org    |                    | friend

_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to