We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2276

Summary: Improve Website
Product: SDL Reporter: Ma Xiaojun <damage3025>
Component: websiteAssignee: Ryan C. Gordon <icculus>
Status: ASSIGNED --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: icculus
Version: don't know   
Hardware: All   
OS: All   
Attachments: Safari's default rendering without change encoding manually

Description Ma Xiaojun 2013-11-29 03:08:57 UTC
Created attachment 1477 [details]
Safari's default rendering without change encoding manually

SDL_image website has following issues:

1. It is encoded in Latin-1 but neither server header or HTML meta information is present to user agent, so that it at least confuses Safari (Safari defaults to UTF-8 and doesn't seem to do automatic encoding detection) and results in something like the attached image.

2. It contains line like "<!--#include file="../../header.inc.php" -->". I guess it tries to do server-side include but that fails.

3. The HTML tags used are very outdated, for example <font> is already deprecated in HTML 4. Given the fact that http://www.libsdl.org is valid HTML5 according to http://validator.w3.org , I guess it should receive some update.

4. The Documentation links to 1.2 docs. 

5. It looks retro, this may be a feature.

BTW1, other SDL_* websites have similar issues.

BTW2, I cannot select 2.0.0 Version in bug report, I guess it's time to add 2.0.x versions.
Comment 1 Ryan C. Gordon 2018-08-07 21:31:08 UTC
This was fixed on the main site awhile ago, but these are worth cleaning up for SDL_mixer, etc.

--ryan.