Re: UnicodeDecodeError: problem when path contain folder start withcharacter 'u

2009-06-23 Thread aberry
thanks all for help... actually this was in old code having 'unicode_escape' . i hope it was there to handle path which may contain localized chars... but removing unicode_escape' it worked fine... :) rgds, aberry Mark Tolonen-3 wrote: > > > "aberry" wrote in message > news:24146775.p...@t

Re: UnicodeDecodeError: problem when path contain folder start withcharacter 'u

2009-06-22 Thread Mark Tolonen
"aberry" wrote in message news:24146775.p...@talk.nabble.com... I am facing an error on Unicode decoding of path if it contain a folder/file name starting with character 'u' . Here is what I did in IDLE 1. >>> fp = "C:\\ab\\anil" 2. >>> unicode(fp, "unicode_escape") 3. u'C:\x07b\x07nil' 4.