|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2019-02-03 (18 days ago) ||Not enough user ratings||Total: 111 This week: 8||All time: 9,014 This week: 57|
This class can convert a CSV file to have data in UTF-8 encoding.
It takes the name of a file with data in CSV format, detects the encoding of the text data that it contains and converts it to UTF-8 in case the data is not already in this encoding.
The resulting data can be stored in the same file or another file with a given name.
convert CSV file encoding to utf-8
$cv = new convert_csv_to_utf8($file_address,$saveto=false);
- file_address : csv file address
- saveto (optional) : save fixed csv file to location . if not set fixed csv file will be replaced with original csv
### return : return converted/true if successfully convert/fixed csv file , return filenotfind/false if file is not exist
$string = convert_csv_to_utf8::convert_to_utf8($string, $encoding);
- string : your text
- encoding : your text encoding
### return : return encoded text to utf-8
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.