Allow for encoding of non-ASCII text in Android

This is the first step in allowing Unicode text in Android editing. It does not, in any tests that I have performed, affect normal ASCII text (therefore, it does not affect current usage) but will allow people so-inclined to manually install the custom IME to decode the text back into Unicode on the device.

After this comes implementing a method to allow automatic installation/activation of the IME.