Archive for December, 2005

PHP MySQL & UTF-8 Encoding

Tuesday, December 20th, 2005

Trying to display chinese text in a PHP script from a MySQL DB, proved to be more tricky than i thought, using phpMyAdmin i was able to insert an edit chinese text in a db which has a ‘utf8_general_ci’ charset, but when i tried to show that text in a php page the only thing i’ve got was a long string of question marks.
Searching for a solution on the internet, i found this solution in a comment in php.net

mysql_query("SET CHARACTER SET 'utf8'", $conn);

Placing this just before the query did the trick!

No more IE Mac (The nightmare is over)

Monday, December 19th, 2005

As a web developer these are good news, I had a lot of trouble supporting it, but it seems that Microsoft and Apple are getting far away from each other…

This text is from the Microsoft site

IMPORTANT INFORMATION FOR MICROSOFT INTERNET EXPLORER FOR MAC USERS

In June 2003, the Microsoft Macintosh Business Unit announced that Internet Explorer for Mac would undergo no further development, and support would cease in 2005. In accordance with published support lifecycle policies, Microsoft will end support for Internet Explorer for Mac on December 31st, 2005, and will provide no further security or performance updates.

Additionally, as of January 31st, 2006, Internet Explorer for the Mac will no longer be available for download from Mactopia. It is recommended that Macintosh users migrate to more recent web browsing technologies such as Apple’s Safari.

24 ways: Avoiding CSS Hacks for Internet Explorer

Monday, December 19th, 2005

24 ways: Avoiding CSS Hacks for Internet Explorer

Its time to clean up our code…

FatBits: John Siracusa’s Journal

Friday, December 9th, 2005

FatBits: John Siracusa’s Journal
A journal writen by what I think is one of the most knowledgeable and objective columnist that writes about the Macintosh.
On the whole, all the writers at Arstechnica are A+ columnists.

OK

Wednesday, December 7th, 2005

Ok, I think this time I’m serious, I’m going start bloggin’!