Will,
One-quarter (¼), one-half (½) and three-quarters(¾) are all valid characters in both UTF8 and ISO-8539-1 encoding.
I whipped up a tiny example and was able to successfully parse flat files containing these three fraction characters. I did notice that while the fraction characters displayed properly in Developer’s results window for the string created from the bytes read from my test file, it did not display properly in the record created by the convertToValues service.
For example: "comment containing One-quarter (¼) " became "comment containing One-quarter (�) " in the ffValues record produced by convertToValues.
Not sure what’s up with that. If I run the string created from the bytes read with getFile through my charsetEncoder encoder service (see [url=“wmusers.com”]wmusers.com), I can convert it successfully from UTF-8 to ISO-8859-1 and see the characters.
If you remove these fractional characters, does the malformed exception go away?
I guess one workaround might be to turn your ffData into a string, process it with a sequence that calls pub.string:replace to swap out the fraction characters before processing the string with convertToValues.
Mark
Mark
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services