Néstor wrote:
I made a mistake, on my linux's FF it displays as "World,s Largest"
but on W2K's FF it displays as "World?s Largest"  <-- the question mark is
actually a question mark inside a black diamond box.

I can tell you that the tar backup was done in a 32 bit machine and I
untarred it in a 64 bit machine.

:-)

---------- Forwarded message ----------
From: Néstor <[EMAIL PROTECTED]>
Date: Thu, Jun 26, 2008 at 11:53 AM
Subject: Character <92>
To: Main Discussion List for KPLUG <[email protected]>


People,

I took my host backups and untared it to discover that the apostrophe
characters have
been converted to a character "<92>".  I seen this via a web browser or
gvim.

If I had the following "World's Largest" if was converted to "World<92>
Largest" but when
I copied to my gmail to write this messages it gets converted to this
"World's Largest".

Any ideas sugggestions on how I can convert this character back to an
apostrophe on
all my files?

Thanks,

Nestor :-)


Are your files ASCII and just using a code page to display? If so, you can use the tr (translate) command to convert the decimal value 92 to the decimal value 39 like so:

$ cat orig_file |tr \134 \047 > fixed_file

The weird values passed to tr are in octal, so \134 is decimal 92 and \047 is decimal 39.

Except that the decimal value 92 maps to the ASCII character \ (backslash). So I'm not sure what the real value is you are trying to convert. You need to do some more research, perhaps with a hex editor.

Gus


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to