On 12 Aug 2006, at 01:35, David Ayers wrote:
/* Note that we have _flags.wide but default encoding != internal
encoding.  I'm not sure whether this shoulr be fixed here or in
getCString_c. */
getCString_c((GSStr)self, buffer, maxLength, aRange, leftoverRange);
    }
}

It's getCString_c assuming that internal and external encodings are the same. I've hacked in a quick fix to convert to unicode and use getCString_u in that situation ... should solve the problem as long as getCString_u is working properly. I bet it's possible to write it more efficiently, but that would be time consuming ... and I'm not sure it's worth it for a deprecated method.

_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to