summaryrefslogtreecommitdiff
path: root/src/encoding.c
Commit message (Expand)AuthorAgeFilesLines
* prefix public/private/protected with file_Christos Zoulas2022-12-261-20/+20
* Revert previousChristos Zoulas2022-09-241-7/+1
* mdd build glue, bump versionChristos Zoulas2022-09-241-1/+7
* - lint fixesChristos Zoulas2022-09-131-3/+5
* Require BOM for UCS16 like we do for UCS32. Otherwise we get too manyChristos Zoulas2022-06-101-2/+2
* Delay allocation of nbuf and use malloc instead of calloc since the wholeChristos Zoulas2022-04-221-10/+9
* initialize hi;Christos Zoulas2022-04-111-1/+2
* use unsigned for holding the hi part of the surrogate pairChristos Zoulas2022-04-111-2/+3
* PR/334: jmp3r: Filter out bad ucs16 by handling surrogate pairs and invalidChristos Zoulas2022-04-041-10/+31
* PR/319: jmp3r: UTF-16 does not require a BOMChristos Zoulas2022-02-191-2/+2
* Revert the fix for PR/180. It lead to PR/261. Using character count heuristicsChristos Zoulas2021-04-271-13/+2
* PR/256: mutableVoid: If the file is less than 3 bytes, use the file lengthChristos Zoulas2021-04-191-2/+2
* fix previous (cast >>)Christos Zoulas2021-04-091-7/+1
* No point returning 0 twice, also don't return -1 as an error where 0 isChristos Zoulas2021-04-091-3/+11
* Don't count each byte encounter as 1, count the total number of bytes foundChristos Zoulas2021-04-041-3/+2
* PR/234: halaei: Add limit to the number of bytes to scan for encodingChristos Zoulas2021-02-051-1/+4
* PR/180: Eucat: Require at least 3 distinct values for the ascii, latin1Christos Zoulas2020-08-151-58/+33
* - rename unichar -> file_unichar_t to fix build on Haiku (devnexen)Christos Zoulas2020-08-141-33/+44
* Change encoding text to be consistent with the "unicode" magic it replaces.Christos Zoulas2020-07-261-8/+8
* Use tables from golang to compute the invalid ranges for utf-8Christos Zoulas2020-06-271-5/+61
* Surrogate pairs are not valid utf-8 characters (Michael Liu)Christos Zoulas2020-06-271-1/+5
* remove redundant memory.h (from petk)Christos Zoulas2019-06-081-2/+1
* CID 337784: cast to clarify sign extensionChristos Zoulas2019-04-151-8/+13
* cast to unsigned first to appease ubsan (oss-fuzz)Christos Zoulas2019-02-231-3/+3
* fix casts and bounds check (found by oss-fuzz)Christos Zoulas2019-02-201-6/+8
* use c++ casts everywhere.Christos Zoulas2019-02-201-5/+5
* PR/61: tmc: Add UCS-32 built-in detection.Christos Zoulas2019-02-191-9/+57
* - use SIZE_T_FORMAT instead of 'z' in size_t format stringsChristos Zoulas2018-10-151-2/+2
* - Encapsulate the buffer, size and file descriptor in a struct buffer.Christos Zoulas2017-11-021-2/+14
* Fix utf-7 bugsChristos Zoulas2015-06-041-4/+4
* PR/456, use utf-7 charset in mime printing for utf-7 files.Christos Zoulas2015-06-031-4/+30
* PR/416: coledot: Include vertical tab in ascii sequences.Christos Zoulas2015-01-241-3/+3
* remove duplicate assignment.Christos Zoulas2014-09-111-2/+1
* PR/286: Default encoding is binary.Christos Zoulas2013-11-191-2/+3
* PR/283: Tomas Siegl: Avoid SEGV on oomem.Christos Zoulas2013-09-171-5/+8
* make sure that type is initialized even in the out of memory case.Christos Zoulas2012-01-241-2/+2
* Simplify if (p) free(p) to free(p).Reuben Thomas2011-12-081-3/+2
* mingw32 and escaping fixesChristos Zoulas2010-07-211-9/+10
* add debug for encoding.Christos Zoulas2009-09-131-1/+17
* fix include files.FILE5_00Christos Zoulas2009-02-031-3/+5
* Fixes to MIME detection.Reuben Thomas2008-11-061-12/+7
* This check-in mostly fixes a bunch of problems with MIME checks. It'sReuben Thomas2008-11-061-0/+487