Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Default
-
Resolution: Unresolved
-
Affects Version/s: 1.0.1
-
Fix Version/s: Future Releases
-
Component/s: Engine
-
Labels:None
Description
We use double-byte charset in no english country.QFJ get the fix message length using String.length(),get checksum using String.charAt().But these String method not support double-byte charset,e.g. GBK.
In GBK encoding:
"青".charAt(0)=38738
"青".getBytes()[0] unsiged byte = 199
"青".getBytes()[1] unsiged byte = 244
We wish QFJ to support double-byte charset.
In GBK encoding:
"青".charAt(0)=38738
"青".getBytes()[0] unsiged byte = 199
"青".getBytes()[1] unsiged byte = 244
We wish QFJ to support double-byte charset.
Can you describe a little more how you are using multibyte charsets? Are you only placing the multibyte data in "Encoded*" FIX fields (e.g., EncodedText) or the entire FIX message? The patch makes it appear that you are encoding the entire message.