On Sat, 11 Jan 2003 16:24, Michael Adams wrote: > On Sat, 11 Jan 2003 03:42, Mark Weaver wrote: > > Damon Lynch wrote: > > > On Fri, 2003-01-10 at 16:18, Mark Weaver wrote: > > >>I don't mean to be facicious here, but the utility is called PERL. > > > > > > I can already do that with Python (and in fact I am doing that). But > > > it seems a common enough problem that there must already be a good > > > solution out there, which will have the advantage of covering all the > > > codes used by M$, not just the ones I've picked up thus far...... > > > > > > Damon > > > > Damon, > > > > If you can already do it with Python, then why not go through the rest > > of the process and finish the application. Then there "will" be an app > > out there that will do what you are needing. course, then the rest of us > > will be able to make use of such a utility. :) > > And the demoroniser page i sent tells you where all those illegal > characters are. Illegal because the area they are in is reserved and not to > be used for normal characters.
<quote> Microsoft use their own "extension" to Latin-1, in which a variety of characters which do not appear in Latin-1 are inserted in the range 0x82 through 0x95--this having the merit of being incompatible with both Latin-1 and Unicode, which reserve this region for additional control characters. </quote> So all you need to do is trap any codes in this range. You could get any you don't know to flag the user for contextual changes. And yes, please post the code at some python repository. -- Michael
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
