summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtextcodec
Commit message (Collapse)AuthorAgeFilesLines
* fix tests for QT_NO_PROCESS and when running tests as rootHarald Fernengel2009-07-211-0/+4
|
* Merge license header changes from 4.5Volker Hilsheimer2009-06-162-4/+4
|\
| * Update license headers as requested by the marketing department.Jason McDonald2009-06-162-4/+4
| | | | | | | | Reviewed-by: Trust Me
* | Fixed qtextcodec autotest so it can be run from a build directory.Denis Dzyubenko2009-06-112-6/+6
| | | | | | | | Reviewed-by: trustme
* | UTF-8 text codec should be able to convert data when fed one by one byte.Denis Dzyubenko2009-06-111-0/+60
| | | | | | | | | | | | | | When the input data is fed to utf-8 by one byte it couldn't parse the BOM correctly. So we wait until the BOM is composed into a code point and check it afterwards. Reviewed-by: Olivier Goffart
* | Merge commit 'origin/4.5'Olivier Goffart2009-06-041-3/+12
|\ \ | |/
| * Fix BOM for UTF-32 codecMarius Storm-Olsen2009-06-031-3/+12
| | | | | | | | | | | | | | | | | | The BOM was created correctly, but half of the BOM was then overwritten by the converted data afterwards. Also made the autotest also do reverse encoding tests where possible. Task-number: 255095 Reviewed-by: lars
* | When data was copied from Mozilla Firefox to Qt, the text format was not valid.Denis Dzyubenko2009-05-041-0/+59
|/ | | | | | | | | | | | | | | Mozilla encodes the text/html format in UTF16 and adds a BOM, however it doesn't specify the charset in the html header. The fix is to guess the encoding by either charset in the html header or BOM for text/html format, or by BOM for non html formats. This commit adds a new public function QTextCodec::codecForUtfText() which can be used to guess encoding out of the BOM. Task-number: 250555 Reviewed-by: Benjamin Poulain Reviewed-by: Simon Hausmann Reviewed-by: Andreas Aardal Hanssen
* Return the correct MIB number for TSCII. When the code wasFrans Englich2009-04-241-0/+6
| | | | | | | | | | | written, IANA hadn't assigned one. Requested/spotted by Nokia i18n team. Task-number: 251790 Reviewed-by: Brad Reviewed-by: Denis AutoTest: In this submit.
* Alias for QUtf16Codec is wrong.Frans Englich2009-04-241-0/+6
| | | | | | | | Requested/spotted by Nokia i18n team/Darpan. Task-number: 252102 Reviewed-by: Denis AutoTest: In this submit.
* add deployment for WinCEMaurice Kalinowski2009-04-081-0/+1
|
* Long live Qt 4.5!Lars Knoll2009-03-2310-0/+1836