Spanish accents to appear

People email me text, I copy that into Notepad++, then copy it to a website programme, then publish that text on the web. The pages are mainly English text, but some of it, is in Spanish and is mainly for English viewers. The problem, is that I receive a word like Jesús and I would like it to appear on the web exactly like that, with the accent, but at the moment, it appears as Jes�s. Any help much appreciated.

Check the encoding of your pages and of your server. If set to utf-8, you should be fine.

1 Like

Thanks Ralph, also, are there any settings in FileZilla to tinker with?

I would say that this is not Filezilla’s fault… FileZilla only does the transfer of the file.
It could be the text editor (if you’re using bomb without knowing it), that you didn’t add the right meta tag in your HTML and the configuration of your web server

How would I word the question to the hosts please?

I’d ask them last. Get your HTML meta tag in there, check your text editor, and THEN talk to your hosts.

A wording would be “What’s the default encoding for your web server? UTF-8? ISO-8859-1?”

I doubt it has much if anything to with the host.

Much more likely you have used different character encodings somewhere (or as molona said, a BOM - Byte Order Mark)

Check everything, your mark-up, your text editor, your database.

Thanks all, great quick help as usual. How/where exactly do I tackle the bom please?

Depending on your text editor it should be a setting somewhere
eg. Notepad++

That’s how it looks in mine.

If you have a website already online, you can easily check in your browser what encoding the server is using. E.g. go to Chrome > View > Encoding.

Brilliant, how do you do that in Ff please?

Pretty much the same, at least on Mac. (There are more sophisticated ways to check the server encoding, by examining the headers sent in the dev tools of each browser, but the above method is a good start.)

I’ve looked through the options in Firefox and can’t find it there?

There is this

Though for this maybe Tools->PageInfo->Headers would be more helpful

1 Like

When I check via view - character encoding, it says unicode - when checking via tools - page info, it says utf.

Only utf? You have too flavours… utf-8 (which is the most widely used) and utf-16

Apologies, corrected:

When I check via view - character encoding, it says unicode - when checking via tools - page info, it says utf-8

Any help much appreciated.

What happens if you replace the ú with ú?

(I realise you shouldn’t have to in utf-8, but I’m just curious. )

Which font are you using?

It works when doing that one letter, but there’s many sentences all over the page in Spanish, and will be many more added in the future.

The font is Verdana.

The below bits come from the character encoding:

text/html; charset=UTF-8