Skip to Content
It is currently July 16th, 2019, 11:34 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: January 16th, 2018, 11:29 am 
Offline
Experienced User
Experienced User

Joined: April 10th, 2009, 3:16 am
Posts: 401
Hi,
i would like to know
if there is the possibility of having SAM write correctly the accented characters like à ì ù è é in the HTML output file generated for my webpage. Thanks.
Regards, Stefano.


Top
 Profile  
Reply with quote  
PostPosted: January 16th, 2018, 7:52 pm 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 7860
Location: Aachen (Germany)
You need to send the proper content-type / character encoding with your HTML files.
If you don't specify an encoding on the server level, you can add the following declaration into the <head>...</head> section of _header.html:
Code:
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
...
</head>

Also add the lang attribute to the html tag:
Code:
<html lang="es">

This is for spanish language, but you can obviously put any 2-letter ISO language code in there.

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

We're offering custom PAL / PHP code and general SAM assistance at palscripts.com

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
PostPosted: January 16th, 2018, 8:12 pm 
Offline
Experienced User
Experienced User

Joined: April 10th, 2009, 3:16 am
Posts: 401
SOLVED with

<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">

Thanks.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group