can not assign char * from const char*

fix it

strcpy(szUtf8, [NSString stringWithCString:szAnsi encoding:NSUTF8StringEncoding].UTF8String);

    原文作者:一杯犀牛
    原文地址: https://www.jianshu.com/p/d69e77eef7dc
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞