Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the Chinese characters were garbled in test file #17

Open
shalom-he opened this issue May 12, 2020 · 0 comments
Open

the Chinese characters were garbled in test file #17

shalom-he opened this issue May 12, 2020 · 0 comments

Comments

@shalom-he
Copy link

shalom-he commented May 12, 2020

%CONTEXT
onevar = '商品'
goods = #{'title': '电脑主机', 'price': 1000}

%MESSAGES
msg = '商品'


DefaultContextStandardTestFieldEvaluator.getValue

            /*
             * This String -> byte[] conversion is needed because java.util.Properties 
             * did not allow using a java.io.Reader for loading properties until Java 6.
             */
            final byte[] valueAsBytes = fieldValue.getBytes("ISO-8859-1");
            final ByteArrayInputStream inputStream = new ByteArrayInputStream(valueAsBytes);

Why utf8 encoding is not supported?
My JDK version is 1.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant