Skip to content

新版问题 #14

Open
Open
@bingxue314159

Description

@bingxue314159

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;
    }
    在这里,如果需要转译的字符串过长时,会被截断,分多次发送

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions