Steven Kurylo wrote:
> I have some html files I downloaded with FTP to my desktop. My desktop
> says its using en_CA.UTF-8.
>
> I notice a bunch of characters, quotes in particular, are showing up
> as <92> in vi. The web browser shows them as question marks. The
> quotes in the html elements are fine.
>
> How can I fix this?
Identify them in hex (hexedit or hexview). Then do a
$> perl -ei.old -e 's|\x####|<char>|g;' *.html
Cheers,
lance
-- Lance Levsen, Catprint Computing Tel: (306) 493-2249 Cell: (306) 230-8783 Blog: http://www.catprint.ca/blog/ SaskBlogs: http://saskblogs.catprint.ca/
This archive was generated by hypermail 2.1.8 : Sun Nov 12 2006 - 12:29:26 CST