UTF-8 Hack
Wolf [ Admin
| Message: 31
| Registered: 28 November 2006
| Website
| E-mail
]
There some programs in this site, PAD of which contains non-UTF characters by reasons - I not got. And my default text processing script returns empty strings in such cases. So I come to question - how to determine these incorrect strings and not process them. Solution is very easy:
This function will return true only if string type is valid in other cases one crashes but as its presided (is it right word?) with "@" - there's no crash reports in script.
On Saturday, 6 January 2007 [10:16] Admin edited this message
On Saturday, 6 January 2007 [10:14]
Left message
Left message
There some programs in this site, PAD of which contains non-UTF characters by reasons - I not got. And my default text processing script returns empty strings in such cases. So I come to question - how to determine these incorrect strings and not process them. Solution is very easy:
This function will return true only if string type is valid in other cases one crashes but as its presided (is it right word?) with "@" - there's no crash reports in script.
On Saturday, 6 January 2007 [10:16] Admin edited this message