Humm, I need a function to take the results from pcre
operations acting on UTF-8 encoded strings (as good C string handling functions should :angel:) and convert the indexes to count into the same strings in UTF-16BE - i.e. what Qt uses as the basis of their QString
s and being their recommended manner to deal with Unicode :imp: so I have to convert from one variable length encoding to a different one.
Guess if this I18n stuff was that easy Yanks would have ensured everyone had to use Unicode... :hurtrealbad: