Sponsored Content
Full Discussion: What are <84>, <82>?
Top Forums UNIX for Beginners Questions & Answers What are <84>, <82>? Post 303003888 by RudiC on Friday 22nd of September 2017 06:11:38 AM
Old 09-22-2017
Depending on the locale, those chars should not come alone. In e.g. UTF-8 encoding, they'll be accompanied by a leading C2 (hex), which then should be removed as well.
 
SQLITE_LIBENCODING(3)													     SQLITE_LIBENCODING(3)

sqlite_libencoding - Returns the encoding of the linked SQLite library

SYNOPSIS
string sqlite_libencoding (void ) DESCRIPTION
The SQLite library may be compiled in either ISO-8859-1 or UTF-8 compatible modes. This function allows you to determine which encoding scheme is used by your version of the library. Warning The default PHP distribution builds libsqlite in ISO-8859-1 encoding mode. However, this is a misnomer; rather than handling ISO-8859-1, it operates according to your current locale settings for string comparisons and sort ordering. So, rather than ISO-8859-1, you should think of it as being ' 8-bit' instead. When compiled with UTF-8 support, sqlite handles encoding and decoding of UTF-8 multi-byte character sequences, but does not yet do a com- plete job when working with the data (no normalization is performed for example), and some comparison operations may still not be carried out correctly. Warning It is not recommended that you use PHP in a web-server configuration with a version of the SQLite library compiled with UTF-8 sup- port, since libsqlite will abort the process if it detects a problem with the UTF-8 encoding. RETURN VALUES
Returns the library encoding. SEE ALSO
sqlite_lib_version(3). PHP Documentation Group SQLITE_LIBENCODING(3)
All times are GMT -4. The time now is 12:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy