Is there a character or encoding I can do to escape a custom property in a JAD file for a J2ME application?
Example: Would the extra : in this property break the Jad on some devices, and is there an escape language (like HTML encoding) that I could use to make this a valid property entry?
Custom-Property-1: Nokia : 6150 / X.15
The extra colon won't matter. It will just be part of the value for your property.
JSR 37 says:
There can be other JAD 'gotchas', depending on your target device or devices. Best to keep the JAD small, no more than 5K in some cases, and no extra long lines, or lines with continuation.
See notes here for more info on JAD content, especially note that ISO-8859-1 encoding is preferred because it should be supported by all handsets, and that unicode escape sequences (like \u00A9 = copyright sign) can be used if needed.
EDIT
JSR 118 contains a BNF for parsing JAD content: