* Possible bugs: (investigate later) + in write_xml_unicode_child may be the value of count_chars var not always is correct when writting a string wich, when being UTF8 encoded, will have more chars than original string