>> These functions don't work well because they need a token that currently >> we don't keep on subsequent calls. So it would be better to design a new >> API, likely part of the locale kit, to handle it properly instead, and >> keep >> this one only for legacy apps. >> >> https://dev.haiku-os.org/ticket/976 >> > If it is broken it should be fixed ;) To deprecate an API just because we > cannot > provide a working implementation seems strange to me. > I know at least one legacy application that uses them (BePDF) and > StyledEdit and PDF Writer uses them too. There seem to be no proper way to fix it. Patches welcome :) We're not going to remove it, it works well enough in most cases for apps using it already. But for example it is unable to handle utf-16 or utf-7, because of the start and end markers, you can't use the functions in a streamed way. So, let's keep it around for the gcc2 version, but a better API should be made. Unless you have a way to fix the existing one. -- Adrien.