Guilty as charged. Binaries are committed now. I normally use svn.... where commit has push semantic too.
On Mon, Apr 22, 2013 at 9:46 PM, bill lam <[email protected]> wrote: > I tried pasting 'Пн, 22' on both linux and wine with j701 > jcnosole. Both of them have no problem. > > Actually I wouldn't bother windows jconsole so much, so that > this is not critical for me. > > BTW did you forget to commit the new binaries to github? > > Пн, 22 апр 2013, Greg Borota писал(а): > > bill, binaries have been updated to fix 0 :0 overlook. > > > > About getting the previous line when pasting 'Пн, 22' note the exact same > > issue would happen with the official jconsole too. .NET J.Console blindly > > follows the official console behavior on this too. 'Пн, 22' pasting comes > > as nothing being read from the input (fgets returns null). In that case > > previous input line is re-evaluated. > > > > On Mon, Apr 22, 2013 at 9:06 PM, Greg Borota <[email protected]> wrote: > > > > > I would like to implement wd at some later date, indeed. The error you > > > were getting before was due to me forgetting that IntPtr is a struct > not a > > > class :-). So null == IntPtr was never true :-) It works ok now, will > > > notify when binaries have been updated too. > > > > > > > > > On Mon, Apr 22, 2013 at 8:57 PM, bill lam <[email protected]> wrote: > > > > > >> I meant if it is going to implement wd then will it be possible to > > >> call .Net from a J script. Or you prefer to do the gui stuff > > >> using cs form designer. > > >> > > >> Пн, 22 апр 2013, Greg Borota писал(а): > > >> > I am not sure we will make Windows Console behave with UTF8 > properly. > > >> What > > >> > I get in .NET J.Console is similar to what I also get in the J > Software > > >> > distribution jconsole when I enter u: 1055 1085 44 32 50 50 and > chcp > > >> > 65001. Something different than what's expected. > > >> > > > >> > I am fixing the error you with 0 :0. Thanks for catching that. > > >> > > > >> > Are you asking where in the code I am using JSM with a .NET > callback? > > >> It's > > >> > in the JSession.cs file. > > >> > > > >> > > > >> > > > >> > > > >> > On Mon, Apr 22, 2013 at 7:48 PM, bill lam <[email protected]> > wrote: > > >> > > > >> > > Thanks Greg, > > >> > > > > >> > > I tried it on winxp64 vm and both x86 and x64 worked. on the > > >> > > jconsole utf8, if I type > > >> > > > > >> > > u: 1055 1085 44 32 50 50 > > >> > > or > > >> > > a=. u: 1055 1085 44 32 50 50 > > >> > > a > > >> > > > > >> > > it can display non-latin character with lucida console font. But > > >> > > if I copy and paste > > >> > > > > >> > > 'Пн, 22' > > >> > > > > >> > > and press enter, it became very strange, it seemed to ignore > > >> > > this line and display result of the previous execution. > > >> > > > > >> > > On the J.Console, the keyboard input > > >> > > 0 :0 > > >> > > 123 > > >> > > > > >> > > > > >> > > when press enter after typing 123, it crashed with error message > > >> > > Array cannot be null. > > >> > > Parameter name: byte > > >> > > > > >> > > The same test on jsmtest.exe worked ok > > >> > > 0 :0 > > >> > > 123 > > >> > > 4567 > > >> > > ) > > >> > > > > >> > > Is there example of showing how to call functions inside JSM > > >> > > from j? > > >> > > > > >> > > Пн, 22 апр 2013, Greg Borota писал(а): > > >> > > > Thank you bill. > > >> > > > About codepage, interesting info. You probably need appropriate > > >> language > > >> > > > pack or something though. With chcp 65001, I tried to enter: > "Пн, > > >> 22 апр > > >> > > > 2013, Greg Borota писал(а):" but console would filter out all > > >> non-latin > > >> > > > chars. > > >> > > > But everything works fine from the Windows Forms app. It's > exciting > > >> to be > > >> > > > able to run J engine inside .NET forms without taking the COM > route. > > >> > > > > > >> > > > > > >> > > > On Mon, Apr 22, 2013 at 5:43 PM, bill lam <[email protected]> > > >> wrote: > > >> > > > > > >> > > > > I'll try on a windows machine. > > >> > > > > > > >> > > > > the codepage of windows console can be changed using > > >> > > > > cmd chcp, eg chane to utf8 > > >> > > > > chcp 65001 > > >> > > > > > > >> > > > > Пн, 22 апр 2013, Greg Borota писал(а): > > >> > > > > > For those interested, PInvoke wrapper ( > > >> > > > > > http://www.jsoftware.com/jwiki/Interfaces/PInvoke), now > > >> supports > > >> > > UTF8. > > >> > > > > > > > >> > > > > > UTF8 works with noun values. Identifiers must be ASCII > still. > > >> This > > >> > > is a > > >> > > > > > limitation imposed by J engine, as far as I can understand. > > >> > > > > > > > >> > > > > > A windows forms app has also been added where UTF8 can be > > >> tested. > > >> > > .NET > > >> > > > > > j console app doesn't work properly with UTF8. It's a > > >> limitation of > > >> > > the > > >> > > > > > Windows console itself which doesn't support UTF (at least > on my > > >> > > system). > > >> > > > > > > > >> > > > ---------------------------------------------------------------------- > > >> > > > > > For information about J forums see > > >> > > http://www.jsoftware.com/forums.htm > > >> > > > > > > >> > > > > -- > > >> > > > > regards, > > >> > > > > ==================================================== > > >> > > > > GPG key 1024D/4434BAB3 2008-08-24 > > >> > > > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > >> > > > > > > >> ---------------------------------------------------------------------- > > >> > > > > For information about J forums see > > >> http://www.jsoftware.com/forums.htm > > >> > > > > > >> ---------------------------------------------------------------------- > > >> > > > For information about J forums see > > >> http://www.jsoftware.com/forums.htm > > >> > > > > >> > > -- > > >> > > regards, > > >> > > ==================================================== > > >> > > GPG key 1024D/4434BAB3 2008-08-24 > > >> > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > >> > > > ---------------------------------------------------------------------- > > >> > > For information about J forums see > > >> http://www.jsoftware.com/forums.htm > > >> > > > > >> > > ---------------------------------------------------------------------- > > >> > For information about J forums see > http://www.jsoftware.com/forums.htm > > >> > > >> -- > > >> regards, > > >> ==================================================== > > >> GPG key 1024D/4434BAB3 2008-08-24 > > >> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > >> ---------------------------------------------------------------------- > > >> For information about J forums see > http://www.jsoftware.com/forums.htm > > >> > > > > > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
