Commit Graph
13 Commits
Author SHA1 Message Date
Jaromir Wysoglad b0c8b368a9 COMMON: Don't include iconv.h in common/encoding.h
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-25 13:46:16 +03:00
Jaromir Wysoglad 96fef16693 COMMON: Don't include config.h before scummsys.h
Thil should fix the ds build. For some reason
I thought the forbidden.h wouldn't allow me to
include the iconv.h, so I tryed to include it
before the forbidden.h (it seems like I didn't
have to do that.)
2019-08-25 03:14:24 +01:00
Jaromir Wysoglad fcbf59f5ba COMMON: Convert endianity when needed in Encoding. 2019-08-24 18:12:45 +03:00
Jaromir Wysoglad 0c74a7f27e COMMON: Fix typos 2019-08-24 18:12:45 +03:00
Jaromir Wysoglad f8ac40af7c COMMON: Encoding refactoring 2019-08-24 18:12:45 +03:00
Jaromir Wysoglad b20922942c COMMON: Add missing documentation. 2019-08-24 18:12:45 +03:00
Jaromir Wysoglad a0564bc564 COMMON: Resolve endianity in Encoding 2019-08-24 18:12:45 +03:00
Jaromir Wysoglad 613613568c COMMON: Rename methods in Common::Encoding 2019-08-24 18:12:45 +03:00
Jaromir Wysoglad 5043dec13c COMMON: Add propper Encoding setters 2019-08-24 18:12:45 +03:00
Jaromir Wysoglad 73fa9d921f COMMON: Add documentation to Common::Encoding 2019-08-24 18:12:45 +03:00
Jaromir Wysoglad 61cf628bfb COMMON: Add cyrilic transliteration to Encoding. 2019-08-24 18:12:45 +03:00
Jaromir Wysoglad 888f3e4d30 COMMON: Add transMan mapping encoding conversion. 2019-08-24 18:12:45 +03:00
Jaromir Wysoglad dfbbd228e6 COMMON: Add encoding conversion using iconv 2019-08-24 18:12:45 +03:00