Quick guide to internationalization (I18N) using PHP and MySQL

Any international programmer will one day be confronted with the problem of handling languages other than English. These contain many diacritics and other letters or symbols which do not exist in the English language. When it goes wrong, things can get very ugly, with strange characters (examples: ¶, é, â, ÃŒ, ü, �, ë, ®, â��, ï) appearing in your database. How do you avoid data corruption and other problems related to character encoding? We won't be explaining everything in-depth, but provide some quick and easy pointers which allow you to get started right away.

Clearing the cache with Drupal 6 and the Devel module

Clearing your cache with the Devel module on Drupal 6.x is very easy:

  1. Install Devel module: http://drupal.org/project/devel
  2. Enable Devel permissions at admin/user/access
  3. Make sure Devel block is activated & visible at admin/build/block if you expect to clear the cache by clicking a link.
  4. Click on 'Empty cache' link located inside the Devel block. Or use the following direct link: http://www.example.com/devel/cache/clear

What is the maximum length for the page title in Google?

The maximum title length that Google will index and display in 66 characters including punctuation and spaces. If your page title length exceeds the maximum length, Google will cut off the title at the last full word.

Javascript Image Viewers

Dynamic web based content for the majority of the public generally means the heavily utilization of flash, PHP and other scripting languages. However the silent worker in the background echoes through once again as Javascript shows it is more than capable of providing ingenuity and flare to your web page with the use of scripts such as 'Lightbox'.

These scripts implement, whats referred to as, a 'modal window'. It is, in essence, a window within a window. It allows the end user to interact with visual content on the site, without being redirected from the initial page.

Google Adwords now caters for alcoholics

Google has just changed their advertising policies to allow ads about alcohol:

To comply with the updated hard alcohol and liqueurs policy, advertisers must promote the information about hard alcohol and liqueurs that their websites contain, such as recipes and brand messages. Ads that directly promote the sale of hard alcohol and liqueurs are still not permissible through our program. In contrast, advertisements for beer may directly promote its sale.

This is a welcome change for advertisers and it couldn't come at a better time; right before the holidays.

Drupal TinyMCE module: rearrange the toolbar buttons

If you want to change the default appearance of the toolbar buttons for the TinyMCE module, follow these simple steps: