Question

I searched and couldn't find much about it. We need to provide the most general support for encodings and such and want to make sure ANTLR is going to be able to handle anything we throw at it.

Was it helpful?

Solution

Java VM uses 16 bit character encoding, so MBCS streams must be converted as they are read into the VM. That's relatively independent of ANTLR.

OTHER TIPS

There seems to be some talk about ANTLRInputStream on stackoverflow (found by looking at ANTLR + unicode in google). Is that enough support for multi-byte-character-set for you?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top