Are you sure the file is closed, flushed, disposed (as IDisposable)
or any combination of the above?



----- Original Message ----
> From: Alex Rufon <[email protected]>
> To: Chat forum <[email protected]>
> Sent: Tuesday, February 3, 2009 8:37:43 PM
> Subject: Re: [Jchat] Unicode/UTF8 with getB() and setB()
> 
> Hi Bill,
> 
> Thanks for the heads-up. :) 
> 
> BTW, there is some weirdness going-on in my system. I save a file in C#, 
> close 
> the file and send the filename to J ... J would open the file and it would be 
> empty. But if you do this manually like save the file in C# then close the C# 
> program then open the same file in J ... J would get the updated file.
> 
> I also did a test with two C# DLL's and I get the same problem, validating my 
> theory that this is a file system problem and has nothing to do with J. My 
> theory is that the OS is caching the write to the file hence the other 
> program 
> cannot see any changes to it. My office development system is a Windows XP 
> Pro 
> SP3 ... when I tried the same thing with my Vista Starter edition at home, 
> its 
> working as expected. Wierdness!!!
> 
> I didn't get the first message though ... I just got this one. Oh and I still 
> want some Unicode loving for setb() and getb(). Hehehehehe.
> 
> r/Alex
> 
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On 
> Behalf 
> Of bill lam
> Sent: Monday, February 02, 2009 12:05 PM
> To: [email protected]
> Subject: Re: [Jchat] Unicode/UTF8 with getB() and setB()
> 
> (re-send, sorry if duplicated)
> 
> On Mon, 02 Feb 2009, Alex Rufon wrote:
> > Hi.
> > 
> >  
> > 
> > We just got a project to make an ERP system for a laptop bag company. 
> > 
> >  
> > 
> > Unfortunately, during the design phase, J got cut-out (which means I got
> > cut out). The main argument was the support for Simplified Chinese
> > characters. This  will be the first time that our company would be
> > building a 100% Simplified Chinese application. 
> > 
> >  
> > 
> > I do hope the getB() and setB() functions get the Unicode love soon.
> > 
> >  
> > 
> > Right now I'm thinking of working around this by writing the Unicode
> > strings to be sent to J to a text file first and sending the filename to
> > J and do the same thing with data from J to C#. There would be an
> > overhead though (converting array to CSV strings, writing to file,
> > reading file, converting CSV to array) which is something that is
> > avoided with the getB() and setB() functions.
> 
> You can workaround getB an setB functions, but simplified chinese
> characters use GB18030 encoding that contains character beyond bmp.  J
> only supports 2 byte ucs (iso 10646?) so that not all characters can
> be handled by J and this limitation can not be workaround by user
> code, thus you are bound to be cut out unfortunately.
> 
> -- 
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> 唐詩271 杜甫  江南逢李龜年
>     岐王宅裡尋常見  崔九堂前幾度聞  正是江南好風景  落花時節又逢君
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm



      
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to