# Mac平台使用VLC播放器的中文字幕显示

VLC在Mac平台上播放，中文字幕总是容易出现方框，甚至都是方框。

如果字幕的编码设置正确，例如UTF-8编码的字幕（通过文本编辑器可以查看`.srt`字幕内容，可以确认是UTF-8编码），并且设置了VLC的字幕使用UTF-8编码座位字幕显示，但是仍然无法正确显示中文（出现方框），则极有可能是因为选择的字幕字体导致。

虽然在Terminal控制台，使用`Monaco`字体显示中文完全没有问题，但是我发现在VLC中使用这个字体无法显示中文（全部是方框）。改为使用 `STXihei` 字体后则中文字幕显示正常。

看来黑体字还是最常用标准的中文字体。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://huataihuang.gitbook.io/cloud-atlas-draft/develop/mac/vlc_on_mac_chinese_font.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
