On Mon, Nov 3, 2008 at 13:16, Kent, Mr. John, Contractor, Code 7500
<[EMAIL PROTECTED]> wrote:
snip
> In the text document they are written as
>
> Deg = °
> Apostrophe (')  = <92>
> Open quote (") =  <93>
> Closed quote (") = <94>
snip

How are you viewing the file?  Most likely the <92> notation is a
result of the viewer, not what is actually in the file.  My bet is
that <92> a hex representation of a character in your character set.
If that is true, you should be able to replace them like this:

s/\x{92}/'/
s/[\x{93}\x{94}]/"/;

What you really need to do is find out what character set you are
using and make sure your file handle is opened with it.

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

Reply via email to