+template <>
+inline
+bool PROPERTY_PARSER<std::string>::Parse(const char ** attr, const std::string & attrName, const std::string & fromEncoding)
+{
+if (!encoding.empty() && !fromEncoding.empty())
+ {
+ std::string tmp;
+ if (!func(attr, value, attrName))
+ return false;
+ value = IconvString(tmp, fromEncoding, encoding);
+ return true;
+ }
+else
+ return func(attr, value, attrName);
+}
+