As I understand every String constant in any MIDlet is in Unicode, i.e. uses at least two bytes per character. One byte for actual character code and one byte for language/alphabet codepage.
However, when using resource bundles, I already know which codepage should be used for each String constant. I don't want to spend lots of extra bytes to tell my program information that I already know.
I can imagine only two ways of saving these extra bytes: either store String constants as byte arrays and convert them to String in RunTime or to store them in external resource once again in 1 byte encoding (at least without language specific byte).
Both ways seem to be a little tricky.
Does anybody use on of these of some third approach?
Could you give me soem simple template of your code?
This could greatly save JAR space in text-intensive applicatons.