[Ecls-list] Ecl PARSE-NAMESTRING unable to handle unicode path name

2013-01-13 Thread Peter Enerccio
Hello, I am trying to pass unicode string into PARSE-NAMESTRING, however,
it doesn't work.

(parse-namestring aAaaajあ)

Cannot coerce string aAaaajあ to a base-string
   [Condition of type SIMPLE-ERROR]

List of features:
 *features*
(:SWANK :SERVE-EVENT :PROFILE :LINUX :FORMATTER
 :ECL-WEAK-HASH :LITTLE-ENDIAN :ECL-READ-WRITE-LOCK
 :LONG-LONG :UINT64-T :UINT32-T :UINT16-T
 :RELATIVE-PACKAGE-NAMES :LONG-FLOAT :UNICODE :DFFI
 :CLOS-STREAMS :CMU-FORMAT :UNIX :ECL-PDE :DLOPEN
:CLOS
 :THREADS :BOEHM-GC :ANSI-CL :COMMON-LISP
 :IEEE-FLOATING-POINT :PREFIXED-API :FFI :X86_64
 :COMMON :ECL)

Version of ecl:

 *features*ECL (Embeddable Common-Lisp) 12.12.1
(git:5b7258e8c5ddd1e3f4600d1dfb3e4e3b860d2c84)

Any idea what to do?
-- 
Bc. Peter Vaňušanik
http://www.bishojo.tk
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


Re: [Ecls-list] Ecl PARSE-NAMESTRING unable to handle unicode path name

2013-01-13 Thread Stas Boukarev
Peter Enerccio enerc...@gmail.com writes:

 Hello, I am trying to pass unicode string into PARSE-NAMESTRING, however,
 it doesn't work.

 (parse-namestring aAaaajあ)

 Cannot coerce string aAaaajあ to a base-string
[Condition of type SIMPLE-ERROR]

 List of features:
  *features*
 (:SWANK :SERVE-EVENT :PROFILE :LINUX :FORMATTER
  :ECL-WEAK-HASH :LITTLE-ENDIAN :ECL-READ-WRITE-LOCK
  :LONG-LONG :UINT64-T :UINT32-T :UINT16-T
  :RELATIVE-PACKAGE-NAMES :LONG-FLOAT :UNICODE :DFFI
  :CLOS-STREAMS :CMU-FORMAT :UNIX :ECL-PDE :DLOPEN
 :CLOS
  :THREADS :BOEHM-GC :ANSI-CL :COMMON-LISP
  :IEEE-FLOATING-POINT :PREFIXED-API :FFI :X86_64
  :COMMON :ECL)

 Version of ecl:

  *features*ECL (Embeddable Common-Lisp) 12.12.1
 (git:5b7258e8c5ddd1e3f4600d1dfb3e4e3b860d2c84)

 Any idea what to do?
See http://sourceforge.net/p/ecls/bugs/237/

-- 
With best regards, Stas.

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


Re: [Ecls-list] Ecl PARSE-NAMESTRING unable to handle unicode path name

2013-01-13 Thread Juan Jose Garcia-Ripoll
On Sun, Jan 13, 2013 at 4:02 PM, Peter Enerccio enerc...@gmail.com wrote:

 Hello, I am trying to pass unicode string into PARSE-NAMESTRING, however,
 it doesn't work.

 (parse-namestring aAaaajあ)


http://en.wikipedia.org/wiki/Filename#Encoding_interoperability

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.


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.

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 http://en.wikipedia.org/wiki/HFS_Plus).

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.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


Re: [Ecls-list] Wrong multiplication on 32-bit mazchine

2013-01-13 Thread Juan Jose Garcia-Ripoll
On Thu, Dec 27, 2012 at 5:40 PM, Waldek Hebisch hebi...@math.uni.wroc.plwrote:

 It is nice that ecl tries to
 use native C multiplication, however it gets wrong requested
 precision.


This should be fixed in CVS now.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list