Re: unicode string alteration

2010-08-12 Thread BAvant Garde
Thanks MRAB, I'll have to do some reading about unicode surrogates. Also need to research which python versions/platforms are narrow builds and which are wide. Much to learn here. Thanks!  --- On Thu, 8/12/10, MRAB wrote: From: MRAB Subject: Re: unicode string alteration To: python

Re: unicode string alteration

2010-08-12 Thread MRAB
BAvant Garde wrote: HELP!!! I need help with a unicode issue that has me stumped. I must be doing something wrong because I don't believe this condition would have slipped thru testing. Wherever the string u'\udbff\udc00' occurs u'\U0010fc00' or unichr(1113088) is substituted and the file l

unicode string alteration

2010-08-12 Thread BAvant Garde
HELP!!! I need help with a unicode issue that has me stumped. I must be doing something  wrong because I don't believe this condition would have slipped thru testing. Wherever the string u'\udbff\udc00' occurs u'\U0010fc00' or unichr(1113088) is substituted and the file loses 1 character result