Special characters as text in MView table

User e9b312fb05

14-09-2005 17:09:48

Hi,








how can I enter special characters, like the one that is retrieved with ü in HTML, for a text lable in an MView table?








I tried the following but it doesn't work:








mview_param("cell0","|../../substances/mol/0001.mol|Gü 1");








Thanks for any hints on this!








Paul

ChemAxon 7c2d26e5cf

15-09-2005 14:34:25

To display non-standard character in your html document and in Marvin applets, you should set the encoding of the page to utf-8:
Quote:
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
Insert the above line into the header of your html document.


After that, you can write non-standard characters into your html document.


Marvin can display non-standard characters (like ü) but it does not understand them in html encoded format (like &uuml;).


Thus, you should modify your code like this:
Quote:
mview_param("cell0","|../../substances/mol/0001.mol|Gü 1");