Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新版问题 #14

Open
bingxue314159 opened this issue Jan 27, 2016 · 1 comment
Open

新版问题 #14

bingxue314159 opened this issue Jan 27, 2016 · 1 comment

Comments

@bingxue314159
Copy link

1.option + c,转译的时候,不能转译,还是unicode,原因在于:
if ([str length]) {//此处应该改为if ([str length] == 0)
str = originString;
}

2.有一些unicode没有被转化为中文,原因在于:

  • (id)initWithAdaptorType:(id)arg1 content:(id)arg2 kind:(int)arg3
    {
    id item = IMP_IDEConsoleItem_initWithAdaptorType(self, _cmd, arg1, arg2, arg3);

    if (sIsConvertInConsoleEnabled) {
    NSString *logText = [item valueForKey:@"content"];
    NSString *resultText = [DXXcodeConsoleUnicodePlugin convertUnicode:logText];
    [item setValue:resultText forKey:@"content"];
    }

    return item;
    }
    在这里,如果需要转译的字符串过长时,会被截断,分多次发送

@dhcdht
Copy link
Owner

dhcdht commented Jan 27, 2016

@bingxue314159
多谢提醒
第一点刚刚修了一下。
第二点等我有时间再看一下。
如果方便,也很欢迎你提 PR 修一下~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants