有人在解析 CVS 提交的 gettext .mo 文件时遇到问题吗?
我遇到这样的问题:如果我从 CVS 检出 .mo
文件,我的 mo
解析器代码会失败(CVS 服务器在一个旧的、旧的 CENTOS 机器上运行) - 我认为CVS 以某种方式破坏了它。如果我使用 poedit 并打开相应的 po 文件,然后重新保存 mo 本身,一切都很好。
I have this issue where my mo
parser code fails if I check out a .mo
file from CVS ( CVS server is running on an old, old CENTOS box ) - I think CVS somehow corrupts it. If I use poedit
and open the corresponding po file, and resave the mo over itself all is well.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道
.mo
文件是什么,但以下内容可能会有所帮助,因为它是 CVS 文件损坏的常见来源。您是否让 CVS 将其视为具有关键字扩展的文本文件,并且此
.mo
文件中是否有某种类似于 cvs 关键字的文本? ($author$
等)此处的 CVS 关键字:http://ximbiot.com/cvs/manual/cvs-1.11.6/cvs_12.htmlI have no idea what an
.mo
file is but the following might help since it's a common source of CVS file corruptions.Do you have CVS treating it as a text file with keyword expansion and do you have some kind of text within this
.mo
file that resembles a cvs keyword? ($author$
etc) CVS keywords here: http://ximbiot.com/cvs/manual/cvs-1.11.6/cvs_12.html