Dale's Weblog

looking back it was easy.
Thursday 09 February

Cookies, UTF-8, XHTML, Standards.

Posted by dale on Sun, 19 Sep 2004 10:34:28 EST

I’ve done a bit of an upgrade of this site over the weekend. First off I’ve changed the encoding of this site over to UTF-8, sometime later I will make more use of this but currently you won’t notice any changes.

This site now validates as XHTML 1.0 Strict although the heading is still set to XHTML 1.0 Transitional. Some tests will be done and then move it over.

I’ve had many, well okay lots, well no about 3 people asking for the option to add your website address. This has now been added. I’ve done some changes to the trackback function too so that might be broken unsure. The site will now rememeber your details so: email address, name, website. Hope that makes things easier.

Things might be a bit broken as it was a quick job. Let me know of any issues.

Arrrr.

Below are the comments for this news item

Oh nice work Dale. The more I see this, the more it's looking like DalePress.

Can someone explain to me how/what UTF-8 is. I'm still absolutely confused about character encoding.

1: Comment by Stuart - Sun, 19 Sep 2004 11:04:17 EST


how/what UTF-8 is and works*

2: Comment by Stuart - Sun, 19 Sep 2004 11:04:51 EST


Yay! All is good… now, you just need to swap out the BBCode for HTML, and it'd be sweet :P Surely you're getting tired of not being able to format text as hypertext? ;)

Josh is a happy chappy, so long as his email address isn't displayed…

3: Comment by Josh - Sun, 19 Sep 2004 11:05:55 EST


Oh nice work Dale.

Thanks :)

The more I see this, the more it's looking like DalePress.

Thanks (I think that is a good thing) :) Although wordpress is a pretty powerful beast, much more than I first thought. Behind the scenes WP is much more advanced. But I spose it doesn't matter if the output is the same.

Can someone explain to me how/what UTF-8 is. I'm still absolutely confused about character encoding.

UTF-8 allows for trippy characters like non english stuff. But also a larger range of ASCII stuff. Also everyone seems to be using it! :p To make your site output it use the following:
header('Content-Type: text/html; charset=UTF-8');

Put that just above your !DOCTYPE

you just need to swap out the BBCode for HTML

Another thing to add to the list ;)

Surely you're getting tired of not being able to format text as hypertext?

YES!! argh.

4: Comment by dale - Sun, 19 Sep 2004 11:22:23 EST


I couldn't make my blog validate as XHTML Strict, if I died trying. Too many loopholes keep screwing me over. I try, but something always go wrong. I try, though.

Great job with the WWW option! Sweet! ;)

5: Comment by Matthom - Sun, 19 Sep 2004 11:48:24 EST


Yeah XHTML Strict is a bit weird, but it isn't that hard. Your site is pretty close to valid!

Just changed my Doctype over to the other XHTML ;)

Validate away!

6: Comment by dale - Sun, 19 Sep 2004 12:02:55 EST


ha lamer on xhtml 1.0 strict its not THAT hard to go to xhtml 1.1 well i didnt find it hard, not that there is really a huge difference…
but in the grand scheme of things dalegroup will soon become the new microsoft ;)

7: Comment by Sphinx^ - Sun, 19 Sep 2004 12:29:37 EST


Hey Sphinx^, why don't you try and validate this site? You'll find in fact that it IS XHTML 1.1 ;)

8: Comment by dale - Sun, 19 Sep 2004 12:32:11 EST


from what you were saying before (when i made the comment) sounded like you were using xhtml 1.0 transitional but it validated as xhtml 1.1 strict when forced… so your "just changed over" sounds like you actually switched to the strict doctype… but hey its 1.1 now and thats very cool
see i told you it wasnt hard to chage it over ;)

9: Comment by Sphinx^ - Sun, 19 Sep 2004 12:45:02 EST


BBCode:

urls become clickable

[b]place text in bold[/b]

[i]place text in italics[/i]

[quote]place text in a quote[/quote]

Comments? Please note that all HTML tags are removed from your post.

The URI to TrackBack this entry is: http://www.dalegroup.net//early05/archive/blog/newsid/trackback/128

Comments

Message:

Name (optional):

Email (not shown):

WWW (optional):






Copyright © Michael Dale 2004. Page generated in 0.0060 seconds FreeBSD Powered
Background on style 5 is used from squidfingers How are we going? 3 queries