Le 16 févr. 2011 à 09:51, pulkomandy a écrit : > > No, the API design is broken. It is NOT possible to perform streamed > conversions with it. > You need to send it a whole text and get the full result at once. This is > because if you want to split the text in multiple chunks, you _have_ to > keep a context to connect between them. This may not be a too big problem > in converting iso-8859<>utf-8 (unless you cut your chunk inside a multibyte > utf8 char), but it is much more annoying when working with utf-16 or utf-7, > because each chunk gets a begin and end marker, whereas there should be > only one at the very beginning and the very end of the file. Well it's not only ours that is broken, I recall seeing (little squares) BOMs on some websites due to broken editors putting them in UTF-8 too... And some people pasting way too many on IRC. François.