| 182 | |
| 183 | template <typename octet_iterator, typename u32bit_iterator> |
| 184 | octet_iterator utf32to8 (u32bit_iterator start, u32bit_iterator end, octet_iterator result) |
| 185 | { |
| 186 | while (start != end) |
| 187 | result = utf8::unchecked::append(*(start++), result); |
| 188 | |
| 189 | return result; |
| 190 | } |
| 191 | |
| 192 | template <typename octet_iterator, typename u32bit_iterator> |
| 193 | u32bit_iterator utf8to32 (octet_iterator start, octet_iterator end, u32bit_iterator result) |