Closed GoogleCodeExporter closed 8 years ago
ContentType.JSON.withCharset("UTF-8") seems like a good idea to me and
shouldn't be too hard to implement. Perhaps you want to help out with this and
I'll include it in the next release? It's also possible to change the default
charset using the configuration (see documentation).
Regards,
/Johan
Original comment by johan.ha...@gmail.com
on 18 Apr 2013 at 6:30
Hi Johan,
Yes I saw the default configuration before writing this issue, but I wanted to
have a way to show the charset used per request, as it makes clearer to the
future reader what charset is used. Plus it made sense to me in the well
crafted API of RESTAssured.
Not sure I can give it a try soon, with many other side project. I'll see what
I can do though.
Cheers,
Brice
Original comment by brice.du...@gmail.com
on 18 Apr 2013 at 7:53
No problems. I'll see what I can do!
Original comment by johan.ha...@gmail.com
on 18 Apr 2013 at 8:05
I've implemented this is master now. Please depend on version 1.8.1-SNAPSHOT
after having added the following maven repo:
<repositories>
<repository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots />
</repository>
</repositories>
Original comment by johan.ha...@gmail.com
on 18 Apr 2013 at 11:00
wow that was fast :)
Original comment by brice.du...@gmail.com
on 18 Apr 2013 at 11:37
It wasn't that hard :)
Original comment by johan.ha...@gmail.com
on 18 Apr 2013 at 11:42
I just took a look at your code, indeed your modification is simple ; I was
thinking about a much more type oriented design ;)
Anyhow I feel ashamed now ;)
Cheers,
Brice
Original comment by brice.du...@gmail.com
on 18 Apr 2013 at 3:11
Original issue reported on code.google.com by
brice.du...@gmail.com
on 17 Apr 2013 at 9:15