Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - freewinger

#1
newLISP in the real world / Re: IUP bindings
September 28, 2014, 08:59:45 PM
Maybe Some one . Look up share
#2
I think we need a "iconv" func

Just like Linux kit.
iconv -f UTF-8 -t GBK file1 -o file2

;To manually specify a character encoding
(setf str [text]白日依山尽
黄河入海流
欲穷千里目
更上一层楼[/text])
(write-file "result_utf8.txt" (first (parse str "rn")))
;maybe
;(write-file "result_cp936.txt" (iconv "utf-8" "gbk" (first (parse str_cp936 "rn"))))
;(write-file "result_cp936.txt"  (first (parse str_cp936 "rn")) "gbk")
#3
NL use utf8 character set to save data by default.

write-file and read-file function can't specifie character.

In my work environment need to switch in the language in many character.

I also found out that our lack of manual conversion character encoding functions, such as
Quoteiconv
.

So This  makes me very pain.

Hoping.....
(write-file filename conent charset)
To Lutz lord