714 Star 3.3K Fork 2.2K

人人开源 / renren-generator

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

Backlog
greatdreams  Opened this issue

代码库中,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

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

total 2 participants

Comments (1)

hacryq 2020-10-14 22:39

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

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
Java
1
https://gitee.com/renrenio/renren-generator.git
git@gitee.com:renrenio/renren-generator.git
renrenio
renren-generator
renren-generator

Search