{"comment":{"created_at":"2011-10-11T07:37:57Z","body":"[artem] Fixed in r761\r\nBoth to_string and to_expression_string return utf-8 encoded std::string\r\nAdded test case to rundemo.py which produces :\r\n{{{\r\n  \r\n  <Rule>\r\n            <Filter>([NAME_EN]='Ontario')</Filter>\r\n            <PolygonSymbolizer>\r\n                <CssParameter name=\"fill\">#fabeb7</CssParameter>\r\n            </PolygonSymbolizer>\r\n        </Rule>\r\n        <Rule>\r\n            <Filter>([NAME_FR]='Québec')</Filter>\r\n            <PolygonSymbolizer>\r\n                <CssParameter name=\"fill\">#d9ebcb</CssParameter>\r\n            </PolygonSymbolizer>\r\n        </Rule>\r\n}}}","updated_at":"2011-10-11T07:37:57Z","url":"https://api.github.com/repos/mapnik-org/mapnik/issues/comments/2356683","id":2356683,"user":{"avatar_url":"https://secure.gravatar.com/avatar/941f68386168a8a6b60f2529a7830af7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/artemp","id":59056,"login":"artemp"}},"action":"created","issue":{"number":142,"created_at":"2011-10-11T07:37:56Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Currently they return TODO which causes the save_map() call in the mapnik run_demo.py script to output unusable XML like:\r\n\r\n{{{\r\n    <Style name=\"provinces\">\r\n        <Rule>\r\n            <Filter>([NAME_EN]=TODO)</Filter>\r\n            <PolygonSymbolizer>\r\n                <CssParameter name=\"fill\">#fabeb7</CssParameter>\r\n            </PolygonSymbolizer>\r\n        </Rule>\r\n        <Rule>\r\n            <Filter>([NAME_EN]=TODO)</Filter>\r\n            <PolygonSymbolizer>\r\n                <CssParameter name=\"fill\">#d9ebcb</CssParameter>\r\n            </PolygonSymbolizer>\r\n        </Rule>\r\n    </Style>\r\n}}}","comments":3,"title":"Unicode value functions to_string and to_expression_string need finished","updated_at":"2011-10-11T07:37:58Z","url":"https://api.github.com/repos/mapnik-org/mapnik/issues/142","id":1871653,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/941f68386168a8a6b60f2529a7830af7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/artemp","id":59056,"login":"artemp"},"html_url":"https://github.com/mapnik-org/mapnik/issues/142","labels":[{"name":"Core_Library","url":"https://api.github.com/repos/mapnik-org/mapnik/labels/Core_Library","color":"FFFFFF"}],"state":"open"},"legacy":{"issue_id":1871653,"comment_id":2356683}}