I need to know by an automatically way, if an string has UTF-8 characters or not!
This will be used to generate a document with a group of strings (Perl SCALAR), that is saved in the disk in binary (bytes from 0 to 255). So, I need to tell in the headers of the file if it's in UTF-8 or not.
In other words, when the amount of strings (SCALAR) are paste to the funtion that build the doc, it needs to detect if it has some UTF-8 automatically.
Graciliano M. P.
"The creativity is the expression of the liberty".
In reply to How to know if a string has UTF-8? by gmpassos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |