754 Star 3.8K Fork 2.5K

人人开源 / renren-generator

 / 详情

generator.properties文件中文注释乱码出现问题

Backlog
Opened this issue  
2020-09-15 16:30

代码库中,generator.properties文件中文注释乱码出现问题,如下图

#\u4EE3\u7801\u751F\u6210\u5668\uFF0C\u914D\u7F6E\u4FE1\u606F

mainPath=io.renren
#\u5305\u540D
package=io.renren.modules
moduleName=generator
#\u4F5C\u8005
author=chenshun
#Email
email=sunlightcs@gmail.com
#\u8868\u524D\u7F00(\u7C7B\u540D\u4E0D\u4F1A\u5305\u542B\u8868\u524D\u7F00)
tablePrefix=tb_

#\u7C7B\u578B\u8F6C\u6362\uFF0C\u914D\u7F6E\u4FE1\u606F
tinyint=Integer
smallint=Integer
mediumint=Integer
int=Integer
integer=Integer
bigint=Long
float=Float
double=Double
decimal=BigDecimal
bit=Boolean

char=String
varchar=String
tinytext=String
text=String
mediumtext=String
longtext=String


date=Date
datetime=Date
timestamp=Date

NUMBER=Integer
INT=Integer
INTEGER=Integer
BINARY_INTEGER=Integer
LONG=String
FLOAT=Float
BINARY_FLOAT=Float
DOUBLE=Double
BINARY_DOUBLE=Double
DECIMAL=BigDecimal
CHAR=String
VARCHAR=String
VARCHAR2=String
NVARCHAR=String
NVARCHAR2=String
CLOB=String
BLOB=String
DATE=Date
DATETIME=Date
TIMESTAMP=Date
TIMESTAMP(6)=Date

int8=Long
int4=Integer
int2=Integer
numeric=BigDecimal

nvarchar=String

应该是文件的编码问题,我已经解决了,请问如何提交代码?

Comments (1)

greatdreams created任务
展开全部操作日志

....他的文件编码为GBK,用其他编码打开配置文件都会乱码,这个issues关了吧,不会让你提交代码的。。。。

Sign in to comment

状态
Assignees
Milestones
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(2)
Java
1
https://gitee.com/renrenio/renren-generator.git
git@gitee.com:renrenio/renren-generator.git
renrenio
renren-generator
renren-generator

Search

102255 3a0e046c 1850385 102255 7aaa926c 1850385