Escape Unicode characters from a string
| 1860 | |
| 1861 | // Escape Unicode characters from a string |
| 1862 | void ISC_escape(AbstractString& /*str*/) |
| 1863 | { |
| 1864 | #ifdef NOT_USED_OR_REPLACED // CORE-2929 |
| 1865 | size_t pos = 0; |
| 1866 | while ((pos = str.find_first_of("#", pos)) != npos) |
| 1867 | { |
| 1868 | str.insert(pos, "#"); |
| 1869 | pos += 2; |
| 1870 | } |
| 1871 | #endif |
| 1872 | } |
| 1873 | |
| 1874 | |
| 1875 | #ifdef NOT_USED_OR_REPLACED // CORE-2929 |
no test coverage detected