• MorphOS Developer
    jacadcaps
    Posts: 2968 from 2003/3/5
    From: Canada
    Quote:

    asrael22 wrote:
    IMO 'cString' is too generic. What is a c-string anyway? The encoding always matters.
    That's why Apple deprecated -cString in favor of cStringUsingEncoding:.



    Now that's just saying OBFramework needs to copy all the legacy in Foundation. They had a cString method without properly defining the encoding, so they needed UTF8String. OBFramework has no legacy - cString always returns an UTF8 encoded string, period. I'll probably add UTF8String method to make porting easier though.
  • »13.05.18 - 01:23
    Profile Visit Website