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

    asrael22 wrote:
    Since you have [OBString stringWithCString:encoding:] why not the other way as well. That would be symmetric.



    There are no classes to handle multiple encodings in OBFramework. Mutable string is UTF-16 (will be UCS-32 from 3.12), otherwise strings are UTF-8. OBNativeString can handle different system encodings (so ISO-8859-*) and is generally meant to be used whenever you need to display anything or pass it to MUI, etc. MUIFramework uses it when passing strings to MUI.
  • »14.05.18 - 14:26
    Profile Visit Website