Browse Source

标段名,特殊汉字问题

MaiXinRong 5 years ago
parent
commit
106fc067c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Forms/NewProjectFrm.pas

+ 1 - 1
Forms/NewProjectFrm.pas

@@ -74,7 +74,7 @@ end;
 
 function TNewProjectForm.CheckLegalChar: Boolean;
 begin
-  Result := CheckFileNameLegal(GetValue);
+  Result := CheckFileNameLegal(AnsiToUtf8(GetValue));
   if not Result then
     labTip.Caption := '不能包含特殊字符[/ \ : * ? " < > |],请重新输入!';
 end;