Commit Graph

12 Commits (1d69ad42dcfc5f1f2dfd3908426473122ba15ecd)

Author SHA1 Message Date
Ivan Tcholakov 126bc0b053 Feature #272 - Various improvements and unification about dealing with the system encoding, the text direction, the interface language. 16 years ago
Ivan Tcholakov c923639275 Feature #272 - The intenationalization library: Adding code for language and encoding detection support. 16 years ago
cvargas e969a4161a merge 16 years ago
Ivan Tcholakov 942f562e44 Feature #306 - Internationalization API: Implementation of two new functions api_chr() and api_ord(). 16 years ago
Ivan Tcholakov df06189daf Feature #306 - The internationalization library: The function api_refine_language_id() ahs been renamed as api_purify_language_id(). I hope, the new name is more understandable. 16 years ago
Ivan Tcholakov 6b143ae62f Feature #306 - Fixing the test for the function api_get_valid_language(). 16 years ago
Ivan Tcholakov 626d44cffd Feature #306 - Database records have been opened for Occitan and Traditional Chinese languages. 16 years ago
Ivan Tcholakov 2041d470ae Feature #306 - Fixing the function api_get_language_isocode() so it could return correct results using "dirty" language identifiers. The languages occitan, trad_chinese, trad_chinese_unicode have no corresponding records in the database. I have to open them. 16 years ago
Ivan Tcholakov 11e58b71bc Feature #306 - Moving the function api_get_language_isocode() in the internationalization library. Deprecation of Database::get_language_isocode(). Making a formal test for api_get_language_isocode(). At the moment the test fails, some expexted values are not returned. This has to be fixed. 16 years ago
Ivan Tcholakov 7373315387 Feature #306 - The function api_validate_language() has been renamed as api_get_valid_language(). This new name is accurate, the function is not a validator, but a filter. 16 years ago
Ivan Tcholakov 7409c475af Feature #306 - Fixing logic about encoding aliases recognition in the internationalization library. 16 years ago
Ivan Tcholakov 91f2b784f6 Feature #306 - It is all about internationalization: Moving code form the multibyte string library (which is removed as of now) to the internationalization library. 16 years ago
Ivan Tcholakov 0c5a7d4857 Issue #306 - Platform admin, session import tool: Applying validation for course languages, fixing a conflict between global variables. 16 years ago
Ivan Tcholakov d477a7ce9d Issue #306 - The multibyte string library: The function api_detect_xml_encoding() has been renamed as api_detect_encoding_xml(). New functions have been added: api_convert_encoding_xml(), api_utf8_encode_xml(), api_utf8_decode_xml(). 16 years ago
Ivan Tcholakov 88fffff15f Issue #306 - Cleaning trailing whitespace in some files. 16 years ago
Ivan Tcholakov c10679b2f4 Issue #306 - The multibyte string library: Making the function api_detect_xml_encoding() more convenient for use. 16 years ago
Ivan Tcholakov a18b877fb5 Issue #306 - The multibyte string library: Adding new functions: api_detect_xml_encoding(), api_is_language_supported(), api_validate_language(). 16 years ago
Ivan Tcholakov 0ac2e538a5 Issue #306 - The multibute string library: Adding the function api_strripos() wich is found as needed for Dokeos LMS. Adding in the main API two constants for PHP5 subversion detection. 16 years ago
Ivan Tcholakov 146468b7f9 Issue #306 - Replacing the implementation of api_str_ireplace() with a better one. 16 years ago
Ivan Tcholakov c5a9ffb9bb Issue #306 - Testing the multibyte string library, corrections about the functions api_ucwords() and api_substr_replace(). Now the stanalone test makes successfully all passes (135) on Windows and Linux machines. 16 years ago
Ivan Tcholakov b76924e465 Issue #306 - The multibyte string library: Testing and corrections, a formal standalone test has been added. Two encodings are added for support. Improved logic to deal with encoding aliases. It seems that installed mbstring extension is not a mandatory requirement anymore. The php-extensions mbstring and iconv are optional: for speed or for supporting some exotic encodings. 16 years ago
Ivan Tcholakov c3c4275f33 Issue #306: Reworks about the initialization of the multibyte string library. 16 years ago
Ivan Tcholakov a3cb586fd0 Issue #306 - The multibute string library: Restructuring the functions - those for internal use are renamed and moved in the correspondent file. 16 years ago
Ivan Tcholakov ecfb9ea136 Task #306 - The myltibyte string library: Making the library less dependable on the mbstring extension. Adding derivate UTF-8 aware pcre functions. 16 years ago
Ricardo Rodriguez 7c0f3cd633 [svn r22163] Minor - created file for make tests to functions. 17 years ago