Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Chinese sign 自 causes trouble

Started by Nicolas 3 years ago · 3 replies · 272 views
3 years ago

Dear community,

Our website has trouble when inserting certain specific Chinese signs in our markdown files. Whenever I use specific Chinese signs the page will only load its basic HTML structure but CSS or JS won't work and make the page look dead.

For example:

These don't work: 自动化有限公司

These work: 本网站的使

I have the latest Grav version and neither log file nor Chrome Inspector does detect any issues.

Really weird. Are there some signs that aren't supported?

Please help!

Thanks
Nicolas

3 years ago

@nicolas.mangold, I cannot reproduce this behaviour using the following setup on a fresh grav-admin-v1.7.38.zip install:

  • Add languages section to user/config/system.yaml
    YAML
    languages:
    supported: [en, cn]
    
  • Renamed /user/pages/02.typograhpy/default.md to /user/pages/02.typograhpy/default.cn.md
  • Edited /user/pages/02.typograhpy/default.cn.md as follows:

    YAML
    ---
    title: Typography
    ---
    
    动化有限公司
    
    ! Details on the full capabilities of Spectre.css can be found in the [Official Spectre Documentation](https://picturepan2.github.io/spectre/elements.html)
    
  • Result when accessing page http://dev-dev/cn/typography
    Untitled|690x289
3 years ago

Thank you, I will look this up. Maybe missing configuration or font problem.

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
3 95 4 hours ago
Support · by Anna, 3 days ago
2 94 1 day ago
Support · by Justin Young, 1 day ago
1 64 1 day ago
Support · by Duc , 1 week ago
2 100 6 days ago
Support · by Colin Hume, 1 week ago
2 92 6 days ago