On Thursday 26 February 2009 10:03:24 am Ricardo Aráoz wrote:
> Hi John, while waiting for my proposed change to the module to be
> approved or rejected I had some time and did some regression testing. I
> was under the impression that I had been able to use the wizard to
> generate a form connecting to mssql. But it would seem I wasn't.
> After many regressions I can report that I was not able to even connect
> to my mssql server (through the cxnEditor) up till revision #3907 (you
> removed the code supporting 'port') in which I'm able to connect but I
> get the unicode error we've been talking about.
> Have you tried the proposed changes in your system? Has anyone a reason
> not to commit them?
> I have no urgency as they are pretty straightforward and I can easily
> modify the file after every svn update. But considering the suggested
> change is really trivial and if there are no concrete objections to
> doing it and there are no other proposed ways of solving the problem
> (not even under research), then it would be nice to commit the change.
> If there are concrete objections please let me know so that I can look
> for some other way to correct the module.
>
> TIA
>
> Ricardo.

I thought I told you that your patch does NOT work for me.  I had several 
errors from CD.  I in fact asked my friend in Germany to also test your patch 
and it did NOT work.  He is using unicode and encoding (german). But I'm not 
sure if his version of Dabo was up todate. The issue is about unicode and 
encoding.  At the moment I don't have a solution that works.

Paul, the patch is simple 
dbName=str(self.database)

The trouble is it does not work on my standard install of sql2000 nor sql2005 
(at least NOT cleanly).  The encoding is "latin 1" for both SQL servers and I 
have tried from Linux and windows XP(32bit).  BTW do you have a 64 bit 
install of windows?

I think you could help by discovering why the unicode/encoding is not being 
excepted by your database. You might try something like "print 
dbName.decode()"  or anything else you can think of.  You know most of what 
has been done in Dabo was to scratch a personal itch.  Help by scratching 
your itch.  You find the trouble, I'm sure we will get the patch into the 
code.

Or just wait. I'm sure Ed or Paul will discover a simple way to better support 
encoding  and unicode soon.


-- 
John Fabiani

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to