<div dir="ltr"><div class="gmail_extra">On Sun, Jan 13, 2013 at 4:02 PM, Peter Enerccio <span dir="ltr"><<a href="mailto:enerccio@gmail.com" target="_blank">enerccio@gmail.com</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>Hello, I am trying to pass unicode string into PARSE-NAMESTRING, however, it doesn't work.<br>
<br>(parse-namestring "aaaaaAaaajあ")<br></div></blockquote></div><br><a href="http://en.wikipedia.org/wiki/Filename#Encoding_interoperability">http://en.wikipedia.org/wiki/Filename#Encoding_interoperability</a></div>
<div class="gmail_extra"><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_extra" style>some limited interoperability issues are remaining, such as normalization (equivanlence), or Unicode version in Use. [...] On Linux, this makes the name of the filename is not enough to open a file: additionally to the file's name, the exact byte representation of the filename stored in the disk should also be known. This can be solved at application level, with some tricky normalization calls.</div>
</blockquote><div class="gmail_extra"><br clear="all"><div style>There are lots of issues that have to be solved. For instance, according to this, extended character strings would not be enough to identify a file. Thus, DIRECTORY could never return pathnames with extended characters.</div>
<div style><br></div><div style>There are also other issues, such as the need for a library that normalizes pathnames (I contributed this code to cl-unicode, but it is not part of ECL yet), including incompatible extensions (Apple HFS+ normalizes to a "nearly" the same for as Unicode NFD <a href="http://en.wikipedia.org/wiki/HFS_Plus">http://en.wikipedia.org/wiki/HFS_Plus</a> ).</div>
<div style><br></div><div style>None of this is unsurmountable, but right now it is not on the top of my priorities, given that you can access _all_ filenames using base strings.</div><div style><br></div><div style>Juanjo</div>
<div><br></div>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a>
</div></div>