Peter Kümmel <[EMAIL PROTECTED]> writes:

| std::vector<boost::uint32_t> bytes_to_ucs4(std::vector<char> const & bytes)
| {
| ....
| 
|               if (c > 0xffff) {
|                       lyxerr << "Strange ucs4 value encountered\n";
| 
| 
| I don't think "if (c > 0xffff)"  is correct, because 0xffff is the limit of 
utf16.

Right. but it is strange in our current context.
(Or rather in mine. And I have used it to debug 0xffffffb4 stuff...)

(We also already use 0x200001 for the special inset "char")

-- 
        Lgb

Reply via email to