Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在一个带有法语源文本的php文件上使用xgettext,因此带有重音字符。此类字符未正确解释,并且在生成的 .po 文件中:它们都显示为小正方形。结果,这些不再与 gettext 匹配(在生成 .mo 文件之后)有什么建议吗?谢谢。
您是否尝试过使用--from-code=utf-8?xgettext 默认为 ASCII 编码