<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>RE: [Kc] cleaning up unicode?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>John Reinke wrote:</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; On Mon, 2003-03-03 at 09:15, Garrett Goebel wrote:</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; I have a text file which contains a character I am </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; guessing as being considered a unicode character.</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; It is the letter 'u' with the accent mark over it</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; that looks like an apostrophe, which appears in</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; some text editors as &lt;FA&gt;.</FONT>
<BR><FONT SIZE=2>[...] </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; I'd like to convert any of those characters to be</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; regular ASCII characters, most likely with a tr</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; command, but I haven't been able to find a way to</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; match that character. Any suggestions?</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; &gt; It'd be nice to know what you're actually trying to </FONT>
<BR><FONT SIZE=2>&gt; &gt; accomplish. </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; What I'm trying to accomplish is remove the accent marks</FONT>
<BR><FONT SIZE=2>&gt; from characters, essentially reducing everything down to</FONT>
<BR><FONT SIZE=2>&gt; 7-bit ASCII. Since you're asking, the strings will become</FONT>
<BR><FONT SIZE=2>&gt; file names. I want to create a subroutine that will</FONT>
<BR><FONT SIZE=2>&gt; convert a string to something valid for my file system.</FONT>
</P>

<P><FONT SIZE=2>What file system(s) does the filename need to be valid for?</FONT>
</P>

<P><FONT SIZE=2>--</FONT>
<BR><FONT SIZE=2>Garrett Goebel</FONT>
<BR><FONT SIZE=2>IS Development Specialist</FONT>
</P>

<P><FONT SIZE=2>ScriptPro&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Direct: 913.403.5261</FONT>
<BR><FONT SIZE=2>5828 Reeds Road&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Main: 913.384.1008</FONT>
<BR><FONT SIZE=2>Mission, KS 66202&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fax: 913.384.2180</FONT>
<BR><FONT SIZE=2>www.scriptpro.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; garrett@scriptpro.com</FONT>
</P>

</BODY>
</HTML>