Re: [IronPython] IronPython / Unicode / os.walk

2007-03-07 Thread Andrew
EMAIL PROTECTED] On Behalf Of Dino Viehland Sent: Wednesday, March 07, 2007 18:51 To: Discussion of IronPython Subject: Re: [IronPython] IronPython / Unicode / os.walk I think we'll also accept utf_8 or utf8. This is basically covered under this bug http://www.codeplex.com/IronPython/WorkItem/

Re: [IronPython] IronPython / Unicode / os.walk

2007-03-07 Thread Dan Shechter
ch 07, 2007 18:51 To: Discussion of IronPython Subject: Re: [IronPython] IronPython / Unicode / os.walk I think we'll also accept utf_8 or utf8. This is basically covered under this bug http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=3094 (although the description doesn't m

Re: [IronPython] IronPython / Unicode / os.walk

2007-03-07 Thread Dino Viehland
f the issue and we'll get to it sooner. Thanks for reporting this! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John J Lee Sent: Wednesday, March 07, 2007 7:31 AM To: Discussion of IronPython Subject: Re: [IronPython] IronPython / Unicode / os.walk

Re: [IronPython] IronPython / Unicode / os.walk

2007-03-07 Thread John J Lee
On Wed, 7 Mar 2007, Dan Shechter wrote: [...] codecs.lookup("UTF-8") > Traceback (most recent call last): > File , line 0, in ##89 > File , line 0, in Lookup##78 > LookupError: unknown encoding: UTF-8 > > Suggestions, alternatives? Did you try 'utf-8' (i.e. lowercase)? John __

[IronPython] IronPython / Unicode / os.walk

2007-03-07 Thread Dan Shechter
Hi everyone, I'm using IP 1.0 trying to make some CPython code work as expected. I'm trying to write a Unicode string using the following piece of code: (UTF8_encode, UTF8_decode, UTF8_streamreader, UTF8_streamwriter) = codecs.lookup('UTF-8') cache_file_obj = UTF8_streamwriter(open(cache_file , '