Skip to content

Commit

Permalink
Merge pull request #35 from gcheng/global
Browse files Browse the repository at this point in the history
fix the getBytes for StatusLine class.
  • Loading branch information
Albert Cheng committed Apr 24, 2013
2 parents 2fe266a + 2dfa49e commit efe2872
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static StatusLine create(DataSource dataSource) {

private static void expect(Reader reader, String string) {
try {
byte[] byteArray = string.getBytes();
byte[] byteArray = string.getBytes("UTF-8");
int ch;
for (int i = 0; i < string.length(); i++) {
ch = reader.read();
Expand Down

0 comments on commit efe2872

Please sign in to comment.