# ROXML encoding

**URL:** <https://www.ruby-forum.com/t/roxml-encoding/179027>\
**Category:** Ruby\
**Created:** [November 16, 2009, 3:39am UTC](https://www.ruby-forum.com/t/roxml-encoding/179027 "2009-11-16T03:39:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pavel\_Strnad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ccd318/32.png) [@Pavel\_Strnad](https://www.ruby-forum.com/u/Pavel_Strnad)\
**Post date:** [November 16, 2009, 3:39am UTC](https://www.ruby-forum.com/t/roxml-encoding/179027/1 "2009-11-16T03:39:06Z")

</div>

Hello,  
I am facing a problem with ROXML. National characters are not well  
generated on output. Maybe some problem with encoding. Can you help me?  
Output looks like this:  
  
0  
Ã…Â½lutÃƒÂ½ kÃ…Â¯Ã…Âˆ

Correct output should be:  
  
0  
Å½lutÃ½ kÅ¯ÅˆÂˆ

Thanks for any help.  
P.

–  
Ing. Pavel Strnad

PhD. student  
Department of computer science, FEE, CTU, Prague  
Tel: (+420) 606 469 136  
ICQ: 24874752

---

<div class="post-metadata">

**Author:** ![Pavel\_Strnad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ccd318/32.png) [@Pavel\_Strnad](https://www.ruby-forum.com/u/Pavel_Strnad)\
**Post date:** [November 16, 2009, 6:32pm UTC](https://www.ruby-forum.com/t/roxml-encoding/179027/2 "2009-11-16T18:32:11Z")

</div>

On Mon, Nov 16, 2009 at 11:37:45AM +0900, Pavel Strnad wrote:

> Correct output should be:  
>   
> 0  
> Å½lutÃ½ kÅ¯ÅˆÂˆ

Can you provide some sample code that reproduces this problem?

---

<div class="post-metadata">

**Author:** ![Pavel\_Strnad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ccd318/32.png) [@Pavel\_Strnad](https://www.ruby-forum.com/u/Pavel_Strnad)\
**Post date:** [November 18, 2009, 4:11pm UTC](https://www.ruby-forum.com/t/roxml-encoding/179027/3 "2009-11-18T16:11:21Z")

</div>

I found a solution. Please read an issue on github

> **[Issues · Empact/roxml](https://github.com/Empact/roxml/issues#issue/15)**
>
> ROXML is a module for binding Ruby classes to XML. It supports custom mapping and bidirectional marshalling between Ruby and XML using annotation-style class methods, via Nokogiri or LibXML. - Issu...

Pavel

Aaron P. wrote:

> > 
> 
> Can you provide some sample code that reproduces this problem?

–  
Ing. Pavel Strnad

PhD. student  
Department of computer science, FEE, CTU, Prague  
Tel: (+420) 606 469 136  
ICQ: 24874752
