--- In [email protected], "forxtra" <forx...@...> wrote:
>
> When using dot syntax, there's a trivial error.
> 
> ; ----------------------------------
> Local u = unicode.new("abc")
> Win.Debug(unicode.maximum("abc", "abb").to_ascii)
> Win.Debug(unicode.maximum(u, "abb").to_ascii) ;; error

Yeah, forgot to add 1 to something.  Sorry.
 
> Win.Debug(unicode.env("WinDir").to_ascii)
> Win.Debug(unicode.new("WinDir").env.to_ascii) ;; error or invaild use?

will check.

> ; ----------------------------------
> 
> 
> 
> Is there a way to convert a byteblock to a unicode string, like from_binary?

There can be.
 
> For a list of the recent documents, I'm trying to get a registry value of 
> REG_BINARY type with Reg.Get_Binary(). File path may also contain multibyte 
> characters. so, Binary.Dump() not directly restore path string.

I guess I better test binary block to make sure terminates in
a wide-char string terminator (L'0').  Do your REG_BINARY blocks?

Got example of REG_BINARY key that might contain a path that I can use for 
example?

I think I'll clear up COM first, then get back to this, unles you're in a 
hurry....




Reply via email to