Hi,<br><br>  I&#39;m playing with new boost library property_tree.<br>  And I have several questions regarding it.<br>  1) Suppose there is xml file with utf8 encoding.<br>  What is the best way to populate it into wptree?<br>
  2) How can I save wptree into xml file with utf8 encoding. Unfortunately write_xml requires wostream.<br>  3) Is there something like map operator[]? I.e. I need the following behavior:<br>  wptree &amp; something(some_path)<br>
  {<br>    boost::optional&lt;wptree &amp;&gt; child = my_tree.get_child(some_path);<br>    if(child)<br>      return child.get();<br>    else<br>      return my_tree.put_child(some_path);<br>  }<br><br>Best Regards,<br>  Sergei<br>
<br>