|
From: Tatsuro M. <tma...@ya...> - 2011-03-10 22:30:54
|
Hello Windows native binary is prepared using internal readline. GNU readline can be used but I do not used it because of the possibility of license violation. BSD editline is too unixy so that it cannot be used at present. BSD editline is used for cygwin version gnuplot because the cygwin supports BSD editline. Utf-8 supports from keyboard is perhaps possible but is not easy work. Practical way at this moment, you prepare gnuplot scripts encoded utf-8 without BOM using a suitable text editor use them by load command or batch execution. A lot of free text editors that can treat the utf-8 encoding can be available on windows. SciTE and Notepad++ are examples of them. I have prepared SciTE customization. With it, gnuplot script can executed very easily. http://www.tatsuromatsuoka.com/gnuplot/Eng/SciTE/SciTEgnuplot.html Regards Tatsuro --- Ethan A Merritt wrote: > On Wednesday, March 09, 2011 11:31:53 pm Bastian M将」rkisch wrote: > > > > >I see that you have done a major rewrite of text buffer in gnuplot for > > >Windows (I didn't test anything though). Does any of your fixes > > >include fixing UTF-8 by any chance? > > > > No, I don't see why my changes would affect unicode support. I think > > wgnuplot.exe uses the default encoding of your system (aka codepage). > > > > Unicode support for wgnuplot would be feasible, but I won't make it my > > top priority at the moment. > > I point out once more that so far as I can see from either looking > at the code or from running the binaries compiled by Tatsuro Matsuoka, > UTF-8 works fine for output. What does not work is the keyboard input > stage. I suspect, but cannot say for certain, that this is because the > binaries were prepared by linking to libedit. Perhaps one of you > could prepare a test build using gnuplot's internal readline? > My prediction is that such a binary would handle UTF-8 on input also. > > Now it may still be a practical difficulty on a real Windows system > how to set your keyboard to produce UTF-8 directly as you type. > I can't help with that part, but it seems outside the scope of gnuplot. > I assume that people who are concerned to configure gnuplot so that it > accepts UTF-8 keyboard input already know how to produce the UTF-8 > characters stream that they want it to accept. > > Ethan > |