On Sun, 8 May 2011 11:13:27 +0200
Juergen Donnerstag <[email protected]> wrote:
> The assertion test is like: response.contains("££")); replacing it
> with response.contains("\u00A3\u00A3")); works for me.
It's loading UTF-8 data but interprets it as probably ISO-8859-1.
> Interestingly it's failing in eclipse only. It passes the test with
> maven
That almost certainly means the encoding in Eclipse isn't set right.
Set it either globally to UTF-8 (my preference) or manually on the
project or the file itself.
Hope this helps
Carl-Eric
www.wicketbuch.de