# netbeans编辑器中文乱码问题 在版本12.3中,一般性的编码问题是没有的。不需要在netbeans.conf文件中修改编码。 一般在此版本中出现的编码问题是字体不兼容中文的问题。 所以,**只需要将字体更改为适应中文的字体** 即可。 比如:Monospaced字体兼容中文,但是Cambria字体不兼容中文。 ## Cambria字体 ```{image} ../img/netbeans/font.png :alt: font cambria ``` ## Monospaced字体 ```{image} ../img/netbeans/font-utf8.png :alt: font monospaced ```