Skip to content

Commit

Permalink
Fix encoding issue for platforms that default encoding is not UTF-8.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaneg committed Oct 16, 2014
1 parent 2a978e8 commit b90c455
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<idea-plugin version="2">
<name>ReviewBoard</name>
<description>Post review to review board. Code: https://code.google.com/p/reviewboard-plugin-for-idea/</description>
<version>1.0.5</version>
<version>1.0.6</version>
<vendor>Kane</vendor>
<idea-version since-build="95.627"/>
<depends>Subversion</depends>
Expand Down
2 changes: 1 addition & 1 deletion src/rb/ClientHttpRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ protected void write(char c) throws IOException {

protected void write(String s) throws IOException {
connect();
os.write(s.getBytes());
os.write(s.getBytes("utf-8"));
}

protected void newline() throws IOException {
Expand Down

0 comments on commit b90c455

Please sign in to comment.