Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2006 16:57:05 -0500
From:      Gerard Seibert <gerard@seibercom.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Removing BOM from UTF-8
Message-ID:  <20060218165306.C5D2.GERARD@seibercom.net>
In-Reply-To: <1140298493.8388.12.camel@localhost>
References:  <20060218161226.A611.GERARD@seibercom.net> <1140298493.8388.12.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Benjamin A'Lee wrote:

> It shouldn't be writing any new files; it prints the filtered text to
> stdout.
> 
>     Ben

OK, then that is the problem. I need it to actually write the file. It
could either rename the old file and then rewrite it which would be nice,
or just over write the old file. The BOM is just the first three
characters in the file. I am assuming that it would not be removing
anything else in the file.

-- 
Gerard Seibert
gerard@seibercom.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060218165306.C5D2.GERARD>