aboutsummaryrefslogtreecommitdiff
path: root/common/encoding.cpp
AgeCommit message (Collapse)Author
2019-09-30COMMON: Fix memory leaks in iconv error caseThierry Crozat
This fixes coverity CID 1405783 and CID 1405784.
2019-09-05COMMON: Add string size computation to Encoding.Jaromir Wysoglad
2019-09-01COMMON: Add CP437 encoding conversion table.Jaromir Wysoglad
2019-09-01COMMON: Add CP850 conversion.Jaromir Wysoglad
CP850 is used by the mortevielle engine (and apparently by other engines too). Anytime an engine using CP850 encoding wants to use the TTS, the encoding has to be converted, so this is pretty important encoding conversion to support. Unfortunately SDL (when compiled without iconv) doesn't support this encoding (which means, there might not be a way to convert this encoding on some platforms), so I added a conversion table for this.
2019-08-25COMMON: Don't include iconv.h in common/encoding.hJaromir Wysoglad
Move #include<iconv.h> from common/encoding.h to common/encoding.cpp and change the methods accordingly. This resulted in not saving the iconvHandle if using the "non-static" version of conversion, but it simplified the code and hopefuly resolved issues with forbidden symbols on some platforms.
2019-08-24COMMON: Convert endianity when needed in Encoding.Jaromir Wysoglad
2019-08-24COMMON: Fix typosJaromir Wysoglad
2019-08-24COMMON: Encoding refactoringJaromir Wysoglad
2019-08-24JANITORIAL: Remove debuging code.Jaromir Wysoglad
2019-08-24COMMON: Resolve endianity in EncodingJaromir Wysoglad
2019-08-24COMMON: Rename methods in Common::EncodingJaromir Wysoglad
2019-08-24COMMON: Refactor convertIconvJaromir Wysoglad
2019-08-24COMMON: Check for return values in EncodingJaromir Wysoglad
2019-08-24COMMON: Add propper Encoding settersJaromir Wysoglad
2019-08-24COMMON: Add cyrilic transliteration to Encoding.Jaromir Wysoglad
2019-08-24COMMON: Add transMan mapping encoding conversion.Jaromir Wysoglad
2019-08-24COMMON: Use backend specific encoding conversionJaromir Wysoglad
2019-08-24COMMON: Add encoding conversion using iconvJaromir Wysoglad