Post by tmplinshi » 27 Oct 2015, 05:47
newLISP:
http://www.newlisp.org/
I just found this incredible scripting language. But I'm having problems dealing with unicode.
Code: Select all
(import "user32.dll" "MessageBoxW")
(MessageBoxW 0 "text" "title" 0)
It displays incorrect strings:
If I use
(MessageBoxW 0 (unicode "content") (unicode "title") 0), the result turns a little better, that the first character has displayed:
Anyone can help, please! Thanks in advance.
OS Version: win7 x64, Chinese language
newLISP Version: newLISP v.10.6.2 32-bit on Win32 IPv4/6 UTF-8 libffi
newLISP: http://www.newlisp.org/
I just found this incredible scripting language. But I'm having problems dealing with unicode.
[code=newlisp file=test.lsp](import "user32.dll" "MessageBoxW")
(MessageBoxW 0 "text" "title" 0)[/code]
It displays incorrect strings:
[img]http://i13.tietuku.com/58f6176396800718.png[/img]
If I use [c](MessageBoxW 0 (unicode "content") (unicode "title") 0)[/c], the result turns a little better, that the first character has displayed:
[img]http://i13.tietuku.com/c5b9e9f722e554e3.png[/img]
Anyone can help, please! Thanks in advance.
OS Version: win7 x64, Chinese language
newLISP Version: newLISP v.10.6.2 32-bit on Win32 IPv4/6 UTF-8 libffi