FARR

Tags:

I have been using Launchy for a long time. It is a very good keystroke launcher, a best tool for keyboard fanatic. However, it takes too much ram on my Win7 machine and keeps crashing constantly. After googling a while, I found FARR (Find and Run Robot), a highly configurable, full-featured keystroke launcher which brands itself as “The Ultimate Program for Keyboard Maniacs”. This one is less eye-candy than Launchy but definitely a tool for a fanatic. It sports regular expression matching with customizable scoring. Best of all, it takes only a minimal amount of ram.

Try it.

2110497 @Home, first semester

Information

Time: Every Thursday, 13:00 — 16:00
Place: N/A, at the moment.

News (latest first)

Seminar Com Eng I, first semester 2011, Section 6 (ภาคนอก)

News (latest first)

  • 2011-06-13 Student grouping will be available soon

Displaying TIS620 mysql on UTF8 page

Tags:

The ghost from the past is my MySQL database encoded in tis620. Worse, the table and the column itself is labelled as iso-8859-1. Of course, if the web page is to be “viewed” as tis620, all I must to is to simply use

SET NAMES tis620;
SET CHARACTER SET tis620;

In my php code. However, this is not the case because the page itself is utf8.

What comes to help me is iconv. In short, this is what I did.

db_query("SET CHARACTER SET latin1");
$query = "SELECT * FROM table1
$result =  db_query($query);
$number_of_rows = $result->rowCount();
foreach ($result as $record) {
    printf iconv("ISO-8859-11", "UTF-8", $record->comment)
echo '</tr>'."\n";
}
db_query("SET CHARACTER SET utf8");