Search found 7 matches

by zeuwas
09.12.2023 12:51
Forum: General - CudaText
Topic: UTF-8 decode error
Replies: 10
Views: 1310

Re: UTF-8 decode error

I have tested , the file opens perfectly without any issues

Thank main Alexey!!!
by zeuwas
08.12.2023 14:16
Forum: General - CudaText
Topic: UTF-8 decode error
Replies: 10
Views: 1310

Re: UTF-8 decode error

Thank you very much for correcting the program
by zeuwas
08.12.2023 10:44
Forum: General - CudaText
Topic: UTF-8 decode error
Replies: 10
Views: 1310

Re: UTF-8 decode error

Thank you for helping me find the problem!!!
by zeuwas
08.12.2023 10:23
Forum: General - CudaText
Topic: UTF-8 decode error
Replies: 10
Views: 1310

Re: UTF-8 decode error

Delete the first line, the file opens smoothly
file 1st line:
# -*- coding: utf-8 -*-

Cud uses uft-8 encoding to open the file, and the actual encoding of the file is cp936(GBK)
by zeuwas
08.12.2023 10:13
Forum: General - CudaText
Topic: UTF-8 decode error
Replies: 10
Views: 1310

Re: UTF-8 decode error

After removing the comment on line 9, the file opened smoothly
The comment section is in Chinese
by zeuwas
08.12.2023 09:27
Forum: General - CudaText
Topic: UTF-8 decode error
Replies: 10
Views: 1310

Re: UTF-8 decode error

thank you!!!
by zeuwas
07.12.2023 12:18
Forum: General - CudaText
Topic: UTF-8 decode error
Replies: 10
Views: 1310

UTF-8 decode error

When opening a file with file code cp936, an error will be reported
The file must contain Chinese characters

error UTF-8 decode error