How to get the accented character...

User 3191727 Photo


Registered User
5 posts

Hi,

I just purchased Coffeecup to edit my texts in HTML.

My website has two languages: English and French. In french, there are a lot of accented characters like é, è, à, etc.Please would you tell me to get the accented characters when I paste a text from Word or Notepad?

I have the same question about special characters like ", &, etc.

Thanks for your reply.
Sincerely,
A. Guillen
User 122279 Photo


Senior Advisor
14,547 posts

With the HTML Editor you will get the accented letters displayed as you write them.

In every HTML document head, right at the top, you see this bit of code:

<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta charset="utf-8">

For French you could change the 'html lang' to 'fr', just as I change it to 'no' when I create a site in my own language, Norwegian.
The meta charset 'utf-8' ensures the browsers interpret the input correctly.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 3191727 Photo


Registered User
5 posts

Hi Inger,

thank you for your reply.
I tried but it is not working.

Here is a copy of the test I did. The text between the body instructions comes from a notepad document. All the accented characters are not converted.

<!DOCTYPE html>
<html lang="fr">
<head>
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta charset="utf-8">
<meta name="generator" content="CoffeeCup HTML Editor (www.coffeecup.com)">
<meta name="dcterms.created" content="sam., 21 sept. 2024 12:23:56 GMT">
<meta name="description" content="">
<meta name="keywords" content="">
<title></title>

</head>
<body>

<p>Le cadrage centré. Le sujet est placé au centre de l'image, souvent pour créer une composition symétrique ou pour mettre l'accent sur l'équilibre.</p>

</body>
</html>
User 2273654 Photo


Registered User
767 posts

Maybe it is something as simple as reload the page.
My CC S-drive site https://workhorsepainting.com
User 3191727 Photo


Registered User
5 posts

Hi Greg,

I tried to refresh, reload, create another page. It is not working at all.

I am confused. I have been using Adobe Dreamweaver for more than 15 years. I am trying to move to coffeecup. Copy and paste texts from Word is so easy with Dreamweaver.

I hope someone will help me to find a way ro solve my problem.
Here the text to test . If someone can test for me.

Je suis en train d'écrire un texte avec des accents. Le à n'est pas plus pris en compte que les é, è,ù ,&

Thanks for your help,
Sincerely,
A. Guillen
User 122279 Photo


Senior Advisor
14,547 posts

I pasted your exact example first into Notepad, and from there into the HTML Editor. It came out exactly right. Maybe Greg is right, it must be something simple.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2699991 Photo


Registered User
5,077 posts
Online Now

Inger wrote:
I pasted your exact example first into Notepad, and from there into the HTML Editor. It came out exactly right. Maybe Greg is right, it must be something simple.


Me too (and I didn't need set the language to fr)

Perhaps Amar could you do a screenshot of the CC HTML editor or even better a screen capture video
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS
Contact Me For One To One Assistance
https://mawarputih.coffeecup.com/forms/contact-wayan/

A simple quick way to contact me
https://rsd-tutorialscom.coffeecup.com/ … l-details/
User 2969232 Photo


Registered User
1 post

Hi
I just want to let you know that I tested both French sentences on my two browsers after creating on my CC Html editor.

I hope you will not have trouble to see the enclosed png file.

Smiles
PJ


Attachments:
User 3191727 Photo


Registered User
5 posts

Hi to all of you,

thank you for your answers and their clarifications. I appreciate your time.

I think I may have misspoken.

When I displayed the page in a browser, it is correctly displayed.

My problem is in Coffeecup. When I paste the text coming from Word or Notepad, there is no codification. The accented characters are not coded.

I have attached a screencopy.

I thought that they have to be converted before putting the text in my website. I am using Joomla. I copy the text from the html editor to the Joomla article. Maybe it is not correct.

Thanks for your help
Sincerely,
A. Guillen
Attachments:
User 122279 Photo


Senior Advisor
14,547 posts

My goodness! Why are you using all those apps to copy/paste your stuff back and forth? The HTML Editor is really all you need.

With UTF-8 there is no need to codify the characters for Western European languages, they can be written as you would type them on an archaic typewriter. I have no clue about what kind of language settings Joomla has. You'll probably have to find a Joomla forum somewhere and ask.

But if you are dead set on codification, you could try under Tools -> Search for undocumented characters. Run that, and see if Joomla is pleased with the result.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.