Write farsi in CLIPS(expert system) -


i try implementation expert system clips clips doesn't support farsi. how write persian in clips?

thank you.

clips 6.3 internally supports utf-8 strings, however, application embedding clips must support utf-8 i/o. clips windows ide not support utf-8 i/o. uses older win32 apis , not designed unicode support in mind. mac os x ide, however, support utf-8 i/o:

clips>  (defrule hello    =>    (printout t "hello" crlf)    (printout t "olá" crlf)    (printout t "Здравствуйте" crlf)    (printout t "مرح" crlf)    (printout t "你好" crlf)    (printout t "Γεια σας" crlf)    (printout t "こんにちは" crlf)    (printout t "안녕하십니까" crlf)) clips> (run) hello olá Здравствуйте مرح 你好 Γεια σας こんにちは 안녕하십니까 clips> (read) سلام سلام clips>  

when compiled console application, utf-8 support console i/o environment dependent. console version of clips compiled darwin on mac os x supports utf-8 automatically console i/o. apparently there support in windows command prompt utf-8 console i/o if configured properly: unicode characters in windows command line - how?.

clipsjni, http://clipsrules.sourceforge.net/clipsjnibeta.html, demonstrates how can embed clips in environment supporting utf-8 (in case java) take advantage of clips internal support of utf-8.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -