How to Fix Chinese Comment Encoding Issues in Keil V4

As shown in the figure below:

How to Fix Chinese Comment Encoding Issues in Keil V4

Experiencing this issue is undoubtedly very frustrating for those who write programs with Chinese comments. However, the solution to this problem is actually quite simple, as shown in the figure below.

How to Fix Chinese Comment Encoding Issues in Keil V4

This is the configuration interface accessed from the last option in the view menu. Select GB2312 in the highlighted blue section, as shown:

How to Fix Chinese Comment Encoding Issues in Keil V4

At this point, the delete and backspace operations in the document will be performed according to the Chinese encoding, and the garbled characters will no longer appear.

How to Fix Chinese Comment Encoding Issues in Keil V4

Leave a Comment