--- In [email protected], "mockey_a" <[EMAIL PROTECTED]> wrote:
> Sorry to report another crash of one of your plugins.
> Unicode plugin 0.52:
Here's some more:
unicode.release_all
always crashes PowerPro for me as well.
Also the handle-syntax does not seem to work for file-services:
Shouldn't that be correct?
local fh = unicode.file_open("C:/test.txt", "w", 1, 0)
fh.file_writeline("äöüßblablablaäöüß")
fh.close
gives the error:
"Cannot locate plugin service Win.file_writeline"
Or do handles only work for unicode-strings?
Anyway:
Trying to write to a UTF-8-file doesn't succeed for multi-byte chars:
local fh = unicode.file_open("C:/test.txt", "w", 1, 0)
local u1 = unicode.new("äöüßblablablaäöüß")
unicode.file_writeline(fh, u1, "u")
unicode.file_close(fh)
gives me:
"blablabla" in the file
Windows-unicode (UCS-2, I think) works fine OTOH with:
unicode.file_open("C:/test.txt", "w", 1, 1)
Mockey
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/