matthewhorridge / binaryowl

A compact fast to parse and render format for OWL 2
GNU Lesser General Public License v3.0
2 stars 5 forks source link

OWLLiteralSerializer uses String::getBytes which uses platform specific encoding #1

Closed matthewhorridge closed 10 years ago

matthewhorridge commented 10 years ago

This should ensure UTF-8 encoding

matthewhorridge commented 10 years ago

The problem is that the bytes are serialized using the platform encoding, but they are read back using UTF-8 if OWLLiteralNoCompression is used.