Re: Invalid Unicode

2007-11-21 Thread [EMAIL PROTECTED]
On Nov 21, 4:22 am, [EMAIL PROTECTED] (Tom Phoenix) wrote: > Are you trying to ask, will today's invalid Unicode characters be used > for some valid purpose in tomorrow's Unicode, and thereby break my > program? Maybe. Really? I thought Unicode did make the promise that thes

Re: Invalid Unicode

2007-11-21 Thread Dr.Ruud
"Mark Wagner" schreef: > I've got a program where I could greatly simplify things by > temporarily replacing strings with single characters. However, the > potential input includes any valid Unicode character. Assuming that > the invalid characters are never output to anything, are there any > p

Re: Invalid Unicode

2007-11-20 Thread Mark Wagner
On Nov 20, 2007 8:22 PM, Tom Phoenix <[EMAIL PROTECTED]> wrote: > Are you trying to ask, will Perl prohibit the use of invalid Unicode > characters? Perl strings should be safe for any data. That's basically what I needed to know, thanks. -- Mark Wagner -- To unsubscrib

Re: Invalid Unicode

2007-11-20 Thread Tom Phoenix
id = chr(0x11); $data =~ s/[^\0-\0177]/$invalid/g; ...Will there be any consequences? Yes; your data will be altered. (Is that what you're asking?) Are you trying to ask, will Perl prohibit the use of invalid Unicode characters? Perl strings should be safe for any data. What happened when

Re: Invalid Unicode

2007-11-20 Thread Mark Wagner
On Nov 20, 2007 7:28 PM, Tom Phoenix <[EMAIL PROTECTED]> wrote: > > On 11/20/07, Mark Wagner <[EMAIL PROTECTED]> wrote: > > I've got a program where I could greatly simplify things by > > temporarily replacing strings with single characters. However, the > > potential input includes any valid Unic

Re: Invalid Unicode

2007-11-20 Thread Tom Phoenix
On 11/20/07, Mark Wagner <[EMAIL PROTECTED]> wrote: > I've got a program where I could greatly simplify things by > temporarily replacing strings with single characters. However, the > potential input includes any valid Unicode character. Assuming that > the invalid characters are never output to

Invalid Unicode

2007-11-20 Thread Mark Wagner
I've got a program where I could greatly simplify things by temporarily replacing strings with single characters. However, the potential input includes any valid Unicode character. Assuming that the invalid characters are never output to anything, are there any problems that I'd encounter from us