# 说文网词典

**URL:** <https://forum.freemdict.com/t/topic/8609>\
**Category:** 汉汉\
**Created:** [2021 年10 月 2 日 10:34 UTC](https://forum.freemdict.com/t/topic/8609 "2021-10-02T10:34:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![sxingbai](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/s/919ad9/32.png) [@sxingbai](https://forum.freemdict.com/u/sxingbai)\
**Post date:** [2021 年10 月 2 日 10:34 UTC](https://forum.freemdict.com/t/topic/8609/1 "2021-10-02T10:34:09Z")

</div>

接[https://forum.freemdict.com/t/topic/8550](https://forum.freemdict.com/t/topic/8550)  
链接: [百度网盘-链接不存在](https://pan.baidu.com/s/1mgGljigI-HEp7klhsd8XWA) 提取码: qcui  
问题终于解决，是我在正则提取时出了问题。但对于高区的unicode汉字的处理仍莫名其妙，为避免这类问题，在遇到有高区字时写正则不能懒省事（这类懒正则在python也会出问题），简单来个`.+?`，一定要用`[^]+`。  
上传更新包。包括遗漏的图片、 [Mastameta](https://forum.freemdict.com/u/Mastameta)修改过的样式，以及他发现的正文中的�。  
链接: [百度网盘-链接不存在](https://pan.baidu.com/s/1p3JspYvL-upU6Hu5DAaieg) 提取码: 9ad6

---

<div class="post-metadata">

**Author:** ![sxingbai](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/s/919ad9/32.png) [@sxingbai](https://forum.freemdict.com/u/sxingbai)\
**Post date:** [2021 年10 月 2 日 10:35 UTC](https://forum.freemdict.com/t/topic/8609/2 "2021-10-02T10:35:56Z")

</div>

因为正则处理不够严谨造成的那些方块字，真的很神奇，有时复制也没问题，但一保存就变成了�。一直还以为程序写得有问题。  
这些字甚至发不到论坛，一发网站就功能紊乱，提示另有一处在编辑等等。  
无法粘到论坛，上传文件又变样……  
原来提取时用的`说文解字：([^\s]+?).+?異體.+?<span style="font-size:180%;line-height:1.2">(.+?)</span>`，后来改为`说文解字：([^\s]+?)\s*<font.+?異體.+?<span style="font-size:180%;line-height:1.2">([^<>]+)</span>`。问题就出在`([^\s]+?).+?`这个烂写法，把\u29601在emeditor中变成了\ud865，然后复制到evereditor就乱了，复制一个字是\u2c50a，和其它字一块复制就变成了\u2b806，一保存就都变成了�，其实这是半个字。

---

<div class="post-metadata">

**Author:** ![東君2021](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/%E6%9D%B1/47e85d/32.png) [@東君2021](https://forum.freemdict.com/u/%E6%9D%B1%E5%90%9B2021)\
**Post date:** [2021 年10 月 2 日 10:57 UTC](https://forum.freemdict.com/t/topic/8609/3 "2021-10-02T10:57:07Z")

</div>

> [@sxingbai](#):
>
> qcui

不会添加呀，大哥

---

<div class="post-metadata">

**Author:** ![sxingbai](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/s/919ad9/32.png) [@sxingbai](https://forum.freemdict.com/u/sxingbai)\
**Post date:** [2021 年10 月 2 日 11:08 UTC](https://forum.freemdict.com/t/topic/8609/4 "2021-10-02T11:08:18Z")

</div>

好人做到底，那个再传一次吧 😀

---

<div class="post-metadata">

**Author:** ![東君2021](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/%E6%9D%B1/47e85d/32.png) [@東君2021](https://forum.freemdict.com/u/%E6%9D%B1%E5%90%9B2021)\
**Post date:** [2021 年10 月 2 日 11:24 UTC](https://forum.freemdict.com/t/topic/8609/5 "2021-10-02T11:24:54Z")

</div>

国学大师网站的说文资源吗？谢谢

---

<div class="post-metadata">

**Author:** ![sxingbai](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/s/919ad9/32.png) [@sxingbai](https://forum.freemdict.com/u/sxingbai)\
**Post date:** [2021 年10 月 2 日 11:35 UTC](https://forum.freemdict.com/t/topic/8609/6 "2021-10-02T11:35:41Z")

</div>

来源见第一行。  
突然发现排版还有点问题，关键地方没动呀。哪位大神帮忙改下吧。

---

<div class="post-metadata">

**Author:** ![有你真好](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/%E6%9C%89/7ea924/32.png) [@有你真好](https://forum.freemdict.com/u/%E6%9C%89%E4%BD%A0%E7%9C%9F%E5%A5%BD)\
**Post date:** [2021 年10 月 2 日 11:39 UTC](https://forum.freemdict.com/t/topic/8609/7 "2021-10-02T11:39:07Z")

</div>

👍楼主果然是好人 😀

---

<div class="post-metadata">

**Author:** ![東君2021](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/%E6%9D%B1/47e85d/32.png) [@東君2021](https://forum.freemdict.com/u/%E6%9D%B1%E5%90%9B2021)\
**Post date:** [2021 年10 月 2 日 11:46 UTC](https://forum.freemdict.com/t/topic/8609/8 "2021-10-02T11:46:59Z")

</div>

等大神来来来来

---

<div class="post-metadata">

**Author:** ![xiaonanhai1982](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/x/57b2e6/32.png) [@xiaonanhai1982](https://forum.freemdict.com/u/xiaonanhai1982)\
**Post date:** [2021 年10 月 2 日 13:44 UTC](https://forum.freemdict.com/t/topic/8609/9 "2021-10-02T13:44:29Z")

</div>

图片无法显示

---

<div class="post-metadata">

**Author:** ![有你真好](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/%E6%9C%89/7ea924/32.png) [@有你真好](https://forum.freemdict.com/u/%E6%9C%89%E4%BD%A0%E7%9C%9F%E5%A5%BD)\
**Post date:** [2021 年10 月 2 日 15:07 UTC](https://forum.freemdict.com/t/topic/8609/10 "2021-10-02T15:07:19Z")

</div>

![image](https://forumcdn.freemdict.com/uploads/default/original/3X/b/b/bbdd160922f8d1be40df8c35108e48e936d39d04.jpeg)

---

<div class="post-metadata">

**Author:** ![xiaonanhai1982](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/x/57b2e6/32.png) [@xiaonanhai1982](https://forum.freemdict.com/u/xiaonanhai1982)\
**Post date:** [2021 年10 月 2 日 15:16 UTC](https://forum.freemdict.com/t/topic/8609/12 "2021-10-02T15:16:56Z")

</div>

![Screenshot_2021-10-02-23-11-47](https://forumcdn.freemdict.com/uploads/default/original/3X/9/a/9aede2e17ea3883d00e96a5314e7aed368e9ebe0.png)  
 ![Screenshot_2021-10-02-23-12-07](https://forumcdn.freemdict.com/uploads/default/original/3X/2/f/2f5f0f36e9b426b49ddc0442418029fed0c874ce.png)

您用的是mdict吧，我这里是手机版深蓝，图片无法显示

---

<div class="post-metadata">

**Author:** ![hjtoh](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/h/e99b99/32.png) [@hjtoh](https://forum.freemdict.com/u/hjtoh)\
**Post date:** [2021 年10 月 2 日 15:18 UTC](https://forum.freemdict.com/t/topic/8609/13 "2021-10-02T15:18:12Z")

</div>

兄弟，你没用第一个链接中的mdd吧。

---

<div class="post-metadata">

**Author:** ![xiaonanhai1982](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/x/57b2e6/32.png) [@xiaonanhai1982](https://forum.freemdict.com/u/xiaonanhai1982)\
**Post date:** [2021 年10 月 2 日 15:26 UTC](https://forum.freemdict.com/t/topic/8609/14 "2021-10-02T15:26:10Z")

</div>

![Screenshot_2021-10-02-23-21-00](https://forumcdn.freemdict.com/uploads/default/original/3X/a/b/ab35663ca218eb4b05f34ae558b86d1e1434fa3c.png)

---

<div class="post-metadata">

**Author:** ![hjtoh](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/h/e99b99/32.png) [@hjtoh](https://forum.freemdict.com/u/hjtoh)\
**Post date:** [2021 年10 月 2 日 15:29 UTC](https://forum.freemdict.com/t/topic/8609/15 "2021-10-02T15:29:56Z")

</div>

css确实有问题，右边的说文解字和页码应该在字形演变的下面。

 ![微信图片_20211002232652](https://forumcdn.freemdict.com/uploads/default/original/3X/9/0/9065fcb91fe247989ca33eea21242498edec16dd.jpeg)

---

<div class="post-metadata">

**Author:** ![hjtoh](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/h/e99b99/32.png) [@hjtoh](https://forum.freemdict.com/u/hjtoh)\
**Post date:** [2021 年10 月 2 日 15:30 UTC](https://forum.freemdict.com/t/topic/8609/16 "2021-10-02T15:30:33Z")

</div>

我也是深蓝字典，图片可以显示

---

<div class="post-metadata">

**Author:** ![xiaonanhai1982](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/x/57b2e6/32.png) [@xiaonanhai1982](https://forum.freemdict.com/u/xiaonanhai1982)\
**Post date:** [2021 年10 月 2 日 15:39 UTC](https://forum.freemdict.com/t/topic/8609/17 "2021-10-02T15:39:59Z")

</div>

文件重新下载了一遍，还是不行，不知道什么原因

---

<div class="post-metadata">

**Author:** ![hjtoh](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/h/e99b99/32.png) [@hjtoh](https://forum.freemdict.com/u/hjtoh)\
**Post date:** [2021 年10 月 2 日 15:42 UTC](https://forum.freemdict.com/t/topic/8609/18 "2021-10-02T15:42:56Z")

</div>

用第一个压缩包里的mdd和css和楼主更新的mdx不行？要不清理缓存重启app试试。

---

<div class="post-metadata">

**Author:** ![xiaonanhai1982](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/x/57b2e6/32.png) [@xiaonanhai1982](https://forum.freemdict.com/u/xiaonanhai1982)\
**Post date:** [2021 年10 月 2 日 15:45 UTC](https://forum.freemdict.com/t/topic/8609/19 "2021-10-02T15:45:34Z")

</div>

清理了缓存，重启后，可以了，谢谢

---

<div class="post-metadata">

**Author:** ![登徒浪子](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/%E7%99%BB%E5%BE%92%E6%B5%AA%E5%AD%90/32/50350_2.png) [@登徒浪子](https://forum.freemdict.com/u/%E7%99%BB%E5%BE%92%E6%B5%AA%E5%AD%90)\
**Post date:** [2021 年10 月 2 日 23:12 UTC](https://forum.freemdict.com/t/topic/8609/20 "2021-10-02T23:12:50Z")

</div>

你应该用第二个链接里的mdx，九兆那个

---

<div class="post-metadata">

**Author:** ![Mastameta](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/mastameta/32/8240_2.png) [@Mastameta](https://forum.freemdict.com/u/Mastameta)\
**Post date:** [2021 年10 月 3 日 00:05 UTC](https://forum.freemdict.com/t/topic/8609/21 "2021-10-03T00:05:22Z")

</div>

> [@hjtoh](#):
>
> css确实有问题，右边的说文解字和页码应该在字形演变的下面。

這應當解決了問題。  
~~[shuowend1.css|attachment]~~(11.9 KB)

 ![image](https://forumcdn.freemdict.com/uploads/default/original/3X/4/d/4d29b6a8a0ec8f30f0d7009f6ae1927a6a49dc5b.png)

數據裡的“�”，也只不過41條，可以收工改。

[下一页](https://forum.freemdict.com/t/topic/8609.md?page=2)
