@Test
public void encoding(){
String id="028";
W3CWidget widget;
IContentEntity start;
widget = getWidget(id, "lro");
start = (IContentEntity)widget.getContentList().get(0);
assertEquals("UTF-8", start.getCharSet());
widget = getWidget(id, "rlo");
start = (IContentEntity)widget.getContentList().get(0);
assertEquals("ISO-8859-1", start.getCharSet());
widget = getWidget(id, "rtl");
start = (IContentEntity)widget.getContentList().get(0);
assertEquals("UTF-8", start.getCharSet());
widget = getWidget(id, "ltr");
start = (IContentEntity)widget.getContentList().get(0);
assertEquals("UTF-8", start.getCharSet());
}