Try to apply patches for encoding support in all SWIG supported languages.