sql2pb icon indicating copy to clipboard operation
sql2pb copied to clipboard

为什么我生成的中文是乱码

Open zhitunAI opened this issue 1 year ago • 1 comments

//--------------------------------鑺傜偣琛?------------------------------- message SysAuthRule { int64 id = 1; //id SysAuthRuleType type = 2; //menu涓鸿彍鍗?file涓烘潈闄愯妭鐐? int64 pid = 3; //鐖禝D string name = 4; //瑙勫垯鍚嶇О string title = 5; //瑙勫垯鍚嶇О string icon = 6; //鍥炬爣 string url = 7; //瑙勫垯URL string condition = 8; //鏉′欢 string remark = 9; //澶囨敞 int64 ismenu = 10; //鏄惁涓鸿彍鍗? SysAuthRuleMenutype menutype = 11; //鑿滃崟绫诲瀷 string extend = 12; //鎵╁睍灞炴€? string py = 13; //鎷奸煶棣栧瓧姣? string pinyin = 14; //鎷奸煶 int64 weigh = 15; //鏉冮噸 string status = 16; //鐘舵€?}

文件格式编码是utf16???

zhitunAI avatar Aug 27 '22 11:08 zhitunAI

windows下的默认cmd是GBK,建议改一下编码UTF8,或者用git bash就可以了

feng99 avatar Oct 13 '22 11:10 feng99