Code Monkey home page Code Monkey logo

Comments (8)

oscarmorrison avatar oscarmorrison commented on May 18, 2024 1

PRs welcome

from md-page.

benjaminwiseboy avatar benjaminwiseboy commented on May 18, 2024

Hello, I'm new to Open source. How can I contribute to this topic ?

from md-page.

oscarmorrison avatar oscarmorrison commented on May 18, 2024

https://www.freecodecamp.org/news/how-to-contribute-to-open-source-projects-beginners-guide/

from md-page.

heyallan avatar heyallan commented on May 18, 2024

What is the character that is failing?
How to reproduce?

from md-page.

adsuth avatar adsuth commented on May 18, 2024

What is the character that is failing? How to reproduce?

Based on context, probably a C-Cedilla ( รง ).

Having trouble reproducing the problem, seems to process them fine for me.
Has this been patched?

image

from md-page.

StefanoCappellini avatar StefanoCappellini commented on May 18, 2024

It's a matter of charset encoding. Their server doesn't specify any charset encoding within the Content-Type header. The browser start searching for the meta tag - that's simply not there, being generated afterwards - reverting to default content type.
Possible solutions (I'm not an expert of md-page):

  • Setting the charset encoding directly from Apache (wise)
  • Putting the JS and the Markdown inside an html template that pre-defines the charset meta tag (it should work without duplicates, am I correct?)
  • Saving the file not as UTF-8 but UTF-8 with BOM

from md-page.

StefanoCappellini avatar StefanoCappellini commented on May 18, 2024

I've just set up a small demo:

It happens, obviously, only if the default charset of the browser is different from utf8 :D

from md-page.

oscarmorrison avatar oscarmorrison commented on May 18, 2024

See: https://github.com/oscarmorrison/md-page/blob/main/docs/common_problems.md

from md-page.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.