Change charsetName to "UTF-8" when replacing line breaks.
authorBen Konrath <ben@bagu.org>
Thu, 22 Dec 2011 22:37:34 +0000 (23:37 +0100)
committerBen Konrath <ben@bagu.org>
Thu, 22 Dec 2011 22:37:34 +0000 (23:37 +0100)
commit306ba3be47f6c3179c8752432bc59a22337db1f6
tree66ced17eaa76c2c33b01a2d4382ef58c20f85064
parent1964db05db11367f20540d003eadf922c832a1e9
Change charsetName to "UTF-8" when replacing line breaks.

JavaScript requires the charsetName to be "UTF-8". CharsetName values
that work in Java (such as "UTF8") will not work when compiled to
JavaScript.

This fixes a problem with multi-line details view fields that have hard
line breaks. The "License Text" field on this page demonstrates the
problem:

http://onlineglom.openismus.com/OnlineGlom/#details:document=debian_repository_analyzer&table=licenses&value=197

* src/main/java/org/glom/web/client/ui/details/DetailsCell.java:
ChangeLog
src/main/java/org/glom/web/client/ui/details/DetailsCell.java