# Mdict-utils与官方工具的区别

**URL:** <https://forum.freemdict.com/t/topic/15752>\
**Category:** 技术交流与词典编修\
**Created:** [2022 年9 月 28 日 00:44 UTC](https://forum.freemdict.com/t/topic/15752 "2022-09-28T00:44:56Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

作者： ![mdxfan](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/mdxfan/32/31774_2.png) [@mdxfan](https://forum.freemdict.com/u/mdxfan)\
发布日期： [2022 年9 月 28 日 14:46 UTC](https://forum.freemdict.com/t/topic/15752/6 "2022-09-28T14:46:27Z")

</div>

> [@Mastameta](#):
>
> the only issues I’ve had were due to accidentally using utf-8 with BOM.

Thank you so much! Yes, it is indeed the BOM issue that caused the compile problem. Now I have converted the source file into the utf-8 without BOM, and everything is compiled successfully.

Here is my conclusion from this little bug: please make sure that all the source files are prepared in utf-8 WITHOUT BOM.

BTW:  
I am always keeping the line endings as the UNIX LF (“\n”), I am not sure whether this is necessary or not.

---

_[View the full topic](https://forum.freemdict.com/t/topic/15752)._
