| 389 | } |
| 390 | |
| 391 | static std::string RuneToString(Rune r) { |
| 392 | char buf[UTFmax]; |
| 393 | int n = runetochar(buf, &r); |
| 394 | return std::string(buf, n); |
| 395 | } |
| 396 | |
| 397 | static std::string RuneToStringLatin1(Rune r) { |
| 398 | char c = r & 0xff; |
no test coverage detected