Search found 22 matches
- Sat Jun 09, 2007 3:26 am
- Forum: Anything else we might add?
- Topic: reading utf16 files?
- Replies: 21
- Views: 16462
Speaking about good eyes?? That must be a secret hint.. Well, there is nothing too esoteric about it! Japanese has no phonetic equivalent to the L and R consonants but has a consonant that seat somewhere between those 2 sounds. Hence even knowing perfectly well all common place names since childhoo...
- Thu Jun 07, 2007 11:54 pm
- Forum: Anything else we might add?
- Topic: reading utf16 files?
- Replies: 21
- Views: 16462
- Thu Jun 07, 2007 12:49 am
- Forum: Anything else we might add?
- Topic: reading utf16 files?
- Replies: 21
- Views: 16462
Windows and UTF-8
Unfortunately I'm still left with the 梶浦由記 file, and not the proper Unicode one. Perhaps it is worth mentioning that for win2k and above the internal representations are in Unicode UTF-16LE and if one can change arbitrarily its DOS code page, in Windows proper, the internal character repres...
- Wed Jun 06, 2007 4:05 am
- Forum: Anything else we might add?
- Topic: reading utf16 files?
- Replies: 21
- Views: 16462
Windows and UTF-8
I believe notepad.exe has a UTF-8 option and you could paste those characters into it to have the Chinese chars back. What you would need on Wndows is a cmd.exe which does UTF-8 Lutz Actually for Win2k and above to set the command line to UTF-8 you will have simply to set the code page with the fol...
- Thu Jul 15, 2004 3:03 am
- Forum: newLISP newS
- Topic: UTF-8 - Unicode in development version 8.0.8
- Replies: 14
- Views: 15805
Lutz Well done everything seems to be fixed except for the best feature of all; the ability of Newlisp to directly communicate with the clipboard. Newlisp-utf8.exe seems to disable completely the clipboard on Unicode and non Unicode based Windows (Win98/ME). Also newlisp-utf8.dll and alas newlisp.dl...
- Sun Jul 11, 2004 1:12 am
- Forum: newLISP newS
- Topic: UTF-8 - Unicode in development version 8.0.8
- Replies: 14
- Views: 15805
[/quote] Running an equivalent program UTF-8 EXE was able to carry all its calculations and display Japanese without any problems Jean-Pierre ========= Kame.lsp [/quote] Sorry the second statement after (begin (println (car today) " " (cadr today) " " (caddr today)) has to be substituted with …. (pr...
- Sun Jul 11, 2004 12:21 am
- Forum: newLISP newS
- Topic: UTF-8 - Unicode in development version 8.0.8
- Replies: 14
- Views: 15805
Running Turtle.lsp with the UTF-8 EXE gives an error ' Bad screen distance "302,1612092" '. Running an equivalent program UTF-8 EXE was able to carry all its calculations and display Japanese without any problems Jean-Pierre ========= Kame.lsp ;; Kame.lsp - graphics ;; written by Jean-Pierre Berard...
- Sun Jul 11, 2004 12:05 am
- Forum: newLISP newS
- Topic: UTF-8 - Unicode in development version 8.0.8
- Replies: 14
- Views: 15805
The localization won’t matter under Win2k or XP since all the internal representations are in Unicode (UTF-16LE). Strictly speaking UTF8 is not Unicode but a coding that lends itself readily to conversion in Unicode(s). The disparity between newlisp-utf8.exe and its UNIX counterpart could come that ...
- Sat Jul 10, 2004 4:28 pm
- Forum: newLISP newS
- Topic: UTF-8 - Unicode in development version 8.0.8
- Replies: 14
- Views: 15805
I don't think you should use the UTF-8 version on Win32 in Germany, where Windows is localized with German as a one-byte-character language, probably with code page ISO-8859. Lutz Indeed under XP with the default code page chcp 437, under the command prompt echo (trim "Höhe;;" ";") > test.txt notep...
- Sat Jul 10, 2004 3:03 pm
- Forum: newLISP newS
- Topic: UTF-8 - Unicode in development version 8.0.8
- Replies: 14
- Views: 15805
newlisp-utf8.exe breakin UTF8 code
Lutz Strangely enough I did try your newlisp-utf8.exe and I found it brakes code when used with UTF8 strings but the regular NewLisp does not Example if you run the strings .. (trim " 日本語が難しい ") ;; Japanish ist schwer (UTF8 i n Japanese) (trim " Er ist ein großer Schwätzer ") ;; Er i...
- Tue Mar 30, 2004 3:28 pm
- Forum: newLISP in the real world
- Topic: newlisp_8000rc1_win-tk.exe CRC 'BE754051'
- Replies: 12
- Views: 11577
- Tue Mar 30, 2004 10:54 am
- Forum: newLISP in the real world
- Topic: newlisp_8000rc1_win-tk.exe CRC 'BE754051'
- Replies: 12
- Views: 11577
I did check newlisp_8000rc1_win-tk.exe as well as newlisp-tk.exe v.111 on the following Win98, Win2k, WinXP Pro on the US Edition, they work fine. newlisp v8.0.0 did run well, even under the Win98 Japanese Edition. But newlisp-tk.exe v.107 and the v.111 gave the same following error on the Japanese ...
- Sun Mar 28, 2004 12:35 am
- Forum: newLISP in the real world
- Topic: newlisp-tk Entry widget does not display textvariable
- Replies: 25
- Views: 26312
- Sat Mar 27, 2004 1:34 pm
- Forum: newLISP in the real world
- Topic: newlisp-tk Entry widget does not display textvariable
- Replies: 25
- Views: 26312
Easier and little bit faster Jean-Pierre --------------------------- fx.lsp (define (fx) (tk [text] if {[winfo exists .fx] == 1} {destroy .fx} toplevel .fx wm title .fx {File Chooser} frame .fx.fr -borderwidth 10 pack .fx.fr -side top -expand yes -fill y scrollbar .fx.fr.yscroll -orient vertical -co...
- Sat Mar 27, 2004 11:08 am
- Forum: newLISP in the real world
- Topic: newlisp-tk Entry widget does not display textvariable
- Replies: 25
- Views: 26312
Lutz gave a comprehensive entry widget example. Here is listbox widget example. It is a file chooser, where one has simply to click a given file to either open or run it. One can easily extend it to make newlisp to distinguish directories and files and navigate drives and make newlisp to do all sort...
- Sat Mar 27, 2004 11:01 am
- Forum: newLISP in the real world
- Topic: newlisp-tk Entry widget does not display textvariable
- Replies: 25
- Views: 26312
- Wed Mar 24, 2004 4:25 am
- Forum: newLISP in the real world
- Topic: newlisp-tk Entry widget does not display textvariable
- Replies: 25
- Views: 26312
- Tue Mar 23, 2004 6:24 am
- Forum: newLISP in the real world
- Topic: newlisp-tk Entry widget does not display textvariable
- Replies: 25
- Views: 26312
Actually, 'variable ::varName' declaration and the reference to it with ::varName The advantage of having direct access to tcl variables is to let tk have as many variables as it is deemed necessary for the good conduct of tk widgets processes, but also that newlisp can always modify them at will! J...
- Mon Mar 22, 2004 10:56 pm
- Forum: newLISP in the real world
- Topic: newlisp-tk Entry widget does not display textvariable
- Replies: 25
- Views: 26312
Indeed you are right; under a new session newlisp fails to find the variable. Jean-Pierre It works for the title but then I still get "cant read ::display no such variable", I think there was some thing still in your Tcl/Tk namespace from before? Try it with a fresh start of newLISP-tk. Lutz But the...
- Mon Mar 22, 2004 3:07 pm
- Forum: newLISP in the real world
- Topic: newlisp-tk Entry widget does not display textvariable
- Replies: 25
- Views: 26312
I realise, if one finds the constant calling of the global variable inopportune, one can directly access the variable with the following... (define (test) (tk "if {[winfo exists .test] == 1} {destroy .test}") (tk "toplevel .test") (tk "variable display") (tk "set display {entry!}") (tk "wm title .te...
- Sun Mar 21, 2004 4:45 pm
- Forum: newLISP in the real world
- Topic: newlisp-tk Entry widget does not display textvariable
- Replies: 25
- Views: 26312
Thanks a lot Hans-Peter and Lutz for the prompt replies Actually, I was aware that –textvariable expected a variable name and I did make an attempt to declare display as global but as I could not chain it properly it did fail so I made a synoptic representation instead. Perhaps a paragraph on the ne...
- Sun Mar 21, 2004 6:10 am
- Forum: newLISP in the real world
- Topic: newlisp-tk Entry widget does not display textvariable
- Replies: 25
- Views: 26312
newlisp-tk Entry widget does not display textvariable
I have been trying to mimic the passing of a tcl variable into the newlisp-tk entry widget but alas, regardless the way I am trying to bring the variable into the entry widget it fails. ============ test.tcl set ok {Entry!} wm title . $ok entry .e -width 30 -textvariable ok pack .e =========== test....