Changes between Version 1 and Version 2 of Ticket #13184, comment 7


Ignore:
Timestamp:
Jan 11, 2017, 4:31:54 PM (8 years ago)
Author:
pulkomandy

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13184, comment 7

    v1 v2  
    33If we want UTF32, then this is not the right function to use.
    44
    5 ucnv_getNextUChar, on the other hand, does return an UChar32 (talk about a confusing naming for that funnction...), so indeed that fixes the problem.
     5ucnv_getNextUChar, on the other hand, does return an UChar32 (talk about a confusing naming for that funnction...), so indeed that fixes the problem. However, it does not work for streaming conversion.
     6
     7So the generic solution would be to use ucnv_convert, and ask for an output in UTF32.