Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A file encoded as charset=iso-8859-1 will be judged as a binary file #59

Open
AKclown opened this issue Dec 22, 2022 · 0 comments
Open

Comments

@AKclown
Copy link

AKclown commented Dec 22, 2022

I have an application.properties file whose encoding is charset=iso-8859-1 would be considered binary。
When I copy the content of application.properties to applicati2on.properties (encoding utf8). Judging that applicati2on.properties is not a binary file。

This is what I found through chatGPT that charset=iso-8859-1 should not be a binary file。
tips: Copy the content of the file in vscode without changing the original encoding of its content
image

expect:
File charset=iso-8859-1 should not be recognized as binary。

Here is my file content:
`
#1������web����������
server.port=8088
#2����������Դ����
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/leave?serverTimezone=UTC
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.initial-size=20
spring.datasource.min-idle=10
spring.datasource.max-active=100
#3�����õ�����starter�IJ���
##3.1 ����Mybatis����
###�����շ�����ƥ��ӳ��
mybatis.configuration.map-underscore-to-camel-case=true
###����Mapper.xml�ļ�·��
mybatis.mapper-locations=classpath:/mapper/*.xml
##3.2 ����Thymeleaf��ͼģ�����
spring.thymeleaf.cache=false
spring.thymeleaf.encoding=utf-8
spring.thymeleaf.mode=HTML5
spring.thymeleaf.prefix=classpath:/templates/
spring.thymeleaf.suffix=.html
#ģ���ļ�λ��
spring.resources.static-locations=classpath:/templates/,classpath:/static/

���ù��ʻ��ļ�������

spring.messages.basename=i18n.login

����

mybatis-plus.type-aliases-package=com.gxuwz.zjh.entity
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant