Re: [IronPython] Weird issue with codecs.BOM_UTF8

2009-11-10 Thread Leonides Saguisag
s like there was a bug in IronPython 2.0.x with regards to the handling of codecs.BOM_UTF8 that now appears to be fixed in IronPython 2.6. Does that sound like a fair assessment? Thanks! -- Leo -Original Message- From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.iro

Re: [IronPython] Weird issue with codecs.BOM_UTF8

2009-11-10 Thread Leonides Saguisag
users-boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: 2009?11?10? 14:05 To: Discussion of IronPython Subject: Re: [IronPython] Weird issue with codecs.BOM_UTF8 Leonides Saguisag wrote: > Hi Michael, > > I just verified the empty string theory that you mentioned and > Python25\lib\cod

Re: [IronPython] Weird issue with codecs.BOM_UTF8

2009-11-10 Thread Leonides Saguisag
.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: 2009?11?10? 13:32 To: Discussion of IronPython Subject: Re: [IronPython] Weird issue with codecs.BOM_UTF8 Leonides Saguisag wrote: > Thank you for taking the time to reply. Any idea why this would happen in > Ir

Re: [IronPython] Weird issue with codecs.BOM_UTF8

2009-11-10 Thread Leonides Saguisag
! -- Leo -Original Message- From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: 2009?11?10? 13:17 To: Discussion of IronPython Subject: Re: [IronPython] Weird issue with codecs.BOM_UTF8 Leonides Saguisag wrote: > Hi every

[IronPython] Weird issue with codecs.BOM_UTF8

2009-11-10 Thread Leonides Saguisag
Hi everyone, I am encountering a weird issue with getting to codecs.BOM_UTF8 to work correctly. I am using SharpDevelop 3.1. Here is the test script that I put together: import sys sys.path.append(r'D:\Python25\Lib') import codecs print sys.version myfile = open(r'D:\Temp\text_file_with_utf8

Re: [IronPython] Issue with using multiple forms in IronPython

2009-10-07 Thread Leonides Saguisag
forms in IronPython Leonides Saguisag wrote: > Hi Dino, > > Thanks for the awesome advice! I got it to work after I removed those pesky > "class WindowsApplication" declarations. > > I am not all too clear on what you mean by making a base form in C# and then > inhe

Re: [IronPython] Issue with using multiple forms in IronPython

2009-10-07 Thread Leonides Saguisag
L none of the UI needs to be represented with code. > -Original Message- > From: users-boun...@lists.ironpython.com [mailto:users- > boun...@lists.ironpython.com] On Behalf Of Leonides Saguisag > Sent: Wednesday, October 07, 2009 1:36 PM > To: 'users@lists.ironpython.

[IronPython] Issue with using multiple forms in IronPython

2009-10-07 Thread Leonides Saguisag
I am trying to create a simple app which has two forms. Form1 contains a button which, when clicked, should display Form2 as a dialog. Here is the source code (developed using IronPython Studio): ### Program.py ### from System import * from System.Windows.Forms import * from Form1 import * cl