Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

French accent issue #57

Closed
jgwill opened this issue May 15, 2022 · 8 comments
Closed

French accent issue #57

jgwill opened this issue May 15, 2022 · 8 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed locale-language

Comments

@jgwill
Copy link

jgwill commented May 15, 2022

Hi
So far, very useful. I was wondering if the french accent issue you can see in the image can be fixed with ease :) ?
regards

image

@oscarmorrison
Copy link
Owner

PRs welcome

@oscarmorrison oscarmorrison added locale-language help wanted Extra attention is needed good first issue Good for newcomers labels May 16, 2022
@benjaminwiseboy
Copy link

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

@heyallan
Copy link

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

@adsuth
Copy link

adsuth commented Sep 5, 2022

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

@StefanoCappellini
Copy link
Collaborator

StefanoCappellini commented Sep 13, 2022

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

@StefanoCappellini
Copy link
Collaborator

StefanoCappellini commented Sep 13, 2022

I've just set up a small demo:

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

@oscarmorrison
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed locale-language
Projects
None yet
Development

No branches or pull requests

6 participants