| 740 | |
| 741 | |
| 742 | string IntlUtil::unescapeAttribute(Jrd::CharSet* cs, const string& s) |
| 743 | { |
| 744 | string ret; |
| 745 | const UCHAR* p = (const UCHAR*)s.begin(); |
| 746 | const UCHAR* end = (const UCHAR*)s.end(); |
| 747 | ULONG size = 0; |
| 748 | |
| 749 | while (readAttributeChar(cs, &p, end, &size, false)) |
| 750 | ret.append(string((const char*)p, size)); |
| 751 | |
| 752 | return ret; |
| 753 | } |
| 754 | |
| 755 | |
| 756 | bool IntlUtil::isAttributeEscape(Jrd::CharSet* cs, const UCHAR* s, ULONG size) |