• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Textes avec accents - Texts with accents

Contributor ,
Jun 25, 2021 Jun 25, 2021

Copy link to clipboard

Copied

Bonjour,

Que ce soit en français ou dans d'autres langues, les accents posent un problème.

Je passe par :

<!DOCTYPE html public "-//W3C//DTD HTML 4.0 Transitional//EN">

mais existe-t-il une autre définition pour ne pas passer par un parser ... qui marche mal.

Merci par avance

 

Hello,

Whether in French or other languages, accents are a problem.

I go by :

<! DOCTYPE html public "- // W3C // DTD HTML 4.0 Transitional // EN">

but is there another definition not to go through a parser ... which works badly.

thanks in advance

Views

468

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 26, 2021 Jun 26, 2021

Do you use UTF-8?

For example:

  1. Add the flag -Dfile.encoding=UTF-8 to the property java.args in your jvm.config file;
  2. Add the UTF-8 meta tag in the <head> section of the HTML page:
<!DOCTYPE html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Exemple de document HTML 4.01</title>
</head>
<body>
<h1>Un document en français</h1>
<p>L'élève va à l'école et ceci est écrit en Français!</p>
</body>
</ht
...

Votes

Translate

Translate
Community Expert ,
Jun 26, 2021 Jun 26, 2021

Copy link to clipboard

Copied

Do you use UTF-8?

For example:

  1. Add the flag -Dfile.encoding=UTF-8 to the property java.args in your jvm.config file;
  2. Add the UTF-8 meta tag in the <head> section of the HTML page:
<!DOCTYPE html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Exemple de document HTML 4.01</title>
</head>
<body>
<h1>Un document en français</h1>
<p>L'élève va à l'école et ceci est écrit en Français!</p>
</body>
</html>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 28, 2021 Jun 28, 2021

Copy link to clipboard

Copied

Bonjour,

MERCI !!

Mais tout en mettant :

<!DOCTYPE html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">

en haut de mes pages, j'ai quand même de temps en temps des ? à la place des accentués ( T?l?phone ).

Que dois-je faire ?

Merci par avance

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Dec 16, 2021 Dec 16, 2021

Copy link to clipboard

Copied

Bonjour,

Quelle est la solution ?

Merci par avance

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 20, 2021 Dec 20, 2021

Copy link to clipboard

Copied

LATEST

Vérifiez que vos scripts (et surtout les textes que vous voulez afficher) sont stockés dans des fichiers en format UTF-8 (et pas "ISO 8859-1" ou "Windows 1252")...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation