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
Win.Debug(unicode.minimum(u, "abb").to_ascii)

; errors
Win.Debug(u.maximum("abb").to_ascii)
Win.Debug(u.str_max("abb").to_ascii)
Win.Debug(u.max("abb").to_ascii)

Win.Debug(unicode.env("WinDir").to_ascii)
Win.Debug(unicode.new("WinDir").env.to_ascii) ;; error or invaild use?
; ----------------------------------



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

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.


Thanks.

Reply via email to