Thank you for your reply, Richard!<br>I have created small test module with edoc comments in russian. I have attached it to the message.<br><br><div><span class="gmail_quote">2008/10/28, Richard Carlsson <<a href="mailto:richardc@it.uu.se">richardc@it.uu.se</a>>:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Andrey Shnayder wrote:<br> > Hi,<br> ><br> > I need to generate the documentation on my erlang modules in russian. I<br> > try to use edoc and docbuilder (they use the same functions however),<br> > but I get the error:<br>
><br> > -------------------------------------------------------------------------<br> > ** exception exit: {badarg,[{io,put_chars,<br> > [<0.74.0>,<br> > ["<?xml version=\"1.0\" encoding=\"latin1\" ?>\n",<br>
> "<!DOCTYPE erlref SYSTEM \"erlref.dtd\">\n",<br> > ........<br> > in function io:o_request/2<br> > in call from edoc_lib:write_file/4<br> > -------------------------------------------------------------------------<br>
><br> > If I write comments in English there are no errors, but I need<br> > documentation in russian. Can you help me? Files encoding is utf-8.<br><br><br>Hi!<br> There is no real support for UTF-8 in Erlang right now (people<br>
are working on it), so most things assume Latin-1 encoding in<br> input and output. If you can send me a minimal test case (a small<br> .erl file in UTF-8 that causes the crash) I can try and find a<br> workaround for edoc.<br>
<br><br> /Richard</blockquote></div>