BText containing markup and unicode escape sequences

Magnus Melin <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Hello!

I'm returning a BText containig some markup and unicode escape sequences 
(greek chars). If I setAllowMarkupInText(false) the greek text is 
displayed correctly but the markup is of course changed to &lt; etc...
Since I have to include some markup I setAllowMarkupInText(true), but 
now the greek char are all displayed as questionmarks.

Have anybody had the same problem? I would really appreciate any hints 
on how to get around this problem!


simple example:

public Object getItem(String key) {

BText b = new BText();
b.setAllowMarkupInText(true); 					 
b.setText("<b>\u03a3\u03bf\u03c5\u03b7\u03b4\u03b9\u03ba\u03ac</b>");
return b;

}



Regards,
Magnus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.