<mtext> UTF further problems
![](https://secure.gravatar.com/avatar/0ed499139c984ed1c5c6312376a707e5.jpg?s=120&d=mm&r=g)
I'm still having trouble with UTF contents in <mtext> tags in MathML content. It's difficult to send a sample because UTF isn't preserved well either by email or when sending files to the ConTeXt Live server, but I'd really appreciate it if somebody could help. When I replace 'HERE' in the following snippet with any UTF encoded accented character, it comes out wrong: \useXMLfilter[utf]\usemodule[mathml] \starttext\startXMLdata <formula><math><mtext>HERE</mtext></math></formula> \stopXMLdata\stoptext Can anyone help? Thanks a million. Duncan
![](https://secure.gravatar.com/avatar/c70ed1ea051c2bf21a8085c2f54dd441.jpg?s=120&d=mm&r=g)
"Duncan" == Duncan Hothersall
writes:
Duncan> I'm still having trouble with UTF contents in <mtext> tags in
Duncan> MathML content.
For whatever it is worth, I just tried that. A double-acute u (U+0171)
came through w/o problem. I'm using a gentoo box w/ tetex 3.0.
I tried both dvi and pdf output. Both worked.
Are you sure your file is in utf-8 and not, eg, utf-16?
What platform are you on?
The exact text I ended up with is:
\useXMLfilter[utf]\usemodule[mathml]
\starttext\startXMLdata
<formula><math><mtext>ű</mtext></math></formula>
\stopXMLdata\stoptext
-JimC
--
James H. Cloos, Jr.
participants (2)
-
Duncan Hothersall
-
James Cloos