Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Properly replace the mangled section characters.

  • Loading branch information...
commit 333b19016b08a03746fd64dcdad88d6edbece085 1 parent 989aa70
@GraylinKim GraylinKim authored
View
2  src/main/java/gov/nysenate/openleg/processors/BillProcessor.java
@@ -558,7 +558,7 @@ public void applyLaw(String data, Bill bill, Date date) throws ParseError {
} else {
// We'll definitely need to clean this data up more than a little bit..
// data = data.replaceAll("\\xBD", "");
- bill.setLaw(data.replace("\r\n", " ").replace("õ", "S").replace("ô","P").replace("�","S").replace("", "S").trim());
+ bill.setLaw(data.replace("\r\n", " ").replace("õ", "S").replace("ô","P").replace("�","S").replace((char)65533+"", "S").trim());
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.