Just so I know for any future contributions, is the charset requirement a project code convention? I'm only asking because the Java API docs say the UTF-8 charset is used by default if one isn't supplied to this function.