Archive for Development

UTF8 chars escape, URLencode problem in PocketIE

I was doing some web programming for Windows Mobile device, and was facing this problem on Pocket Internet Explorer.

The problem is, for all modern browser, URL request will be encoded and sent in UTF-8, Oprea for PPC (8.65), Netfront (4.5TP) does handle that correctly, only PIE fails to do that, here is the example:

when you process URL:
http://www.google.com.hk/search?q=中文
Browser should encode the URL and process:
http://www.google.com.hk/search?q=%A4%A4%A4%E5

But in PIE it does not handle it at all, resulting in error on the request.

Many developers handle non-ASCII chars in URL by using escape in JavaScript, in the case PIE fail to handle it too, instead of RFC 2279 standard, %nn%nn, it process the escape as %unnnn which was the very old and outdated way of how it should be done. (I consider something that was already fixed in MSIE 5.x and Netscape 4.x was outdated.)

Instead of using escape(foo), use encodeURIComponent(foo) before using the string as URL fix the problem.

Links:
UTF-8 Encoding for Older Browsers – WorldTimeZone

AJAX…AJAX…and AJAX….

Currently I am on heavily developing on this kind of programming, surprise tho seems many users do not have idea what it is….

Found a good reading from Wiki about it…if you have no idea what it is or you think it has only something to deal with football, you may wanna have a look…

🙂

Link
Wikipedia – Ajax (programming)

UTF8, Big5 Perl programming is hell!

SMSed by mateTM, PUMBME I developed does not work anymore as PUMB has currently changed their encoding to UTF8.

Spend almost an hour on it, simple UTF8>Big5 works fine, but when Chars that are not in Big5 mapping will mess up the page. (In the case, someone made a post with Simplified Chinese chars)

I think by now I will just leave it for the time, I really don’t have the time and power to work thur it once again…..

Anyway, IMHO the creation of Simplified Chinese is one of the most uncivilized, dumb, crazy idea in human languages history. (I wonder who the F think of it in the first place, he/she shall burnt in hell forever for this horrible thing he/she introduced).

HK3Zone Mobile Edition

Requested by mate PL, I have spend a few hours on getting my CGI code of MobileEdition for Discuz to HK3Zone.

Little work was needed as most of the code has been developed for Discuz already, only a few Search and Replace and Tweak due to different “Theme” used in the forum.

HK3Zone is a local Discussion Forum for friends powered by Discuz.

Currently you can visit the HK3zone(ME) at:
http://hk3zone.rinnovative.com

So now, sit back, relax, and enjoy HK3Zone on the road!

PUMB MobileEdition Screenshots

Thanks for some nice users, we do have some screenshots of PUMB ME running on different mobile devices!


BlackBerry 7100g


BlackBerry 8707v


O2 XDA II with WM5


PalmOne TX with Blazer


Zaurus C3100 with Netfront


Zaurus C3100 with Opera


Zaurus C3100 with Firefox

PUMB Mobile Edition has also been reported to work with Palm Treo600, Treo650, TC, Tapwave Zodiac, SonyEricsson K700i, K750i, Motorola A1000, A1200 (UIQ), Nokia N80, DoCoMo M1000, etc.

Thx everyone, is so happy to hear from you guys, anyone anymore screenshots??
🙂

PUMB Mobile Edition

Hi all PUMBer.

Thinks many of you have already been using it, should have posted this in my weblog first…

I have been doing a CGI script to make PUMB usable on mobile devices like Treos / PDAs, and think it is now stable enough to release for public use.

Currently you can visit the PUMB(ME) at:
http://pumb.rinnovative.com

You will then be redirect to index page of mobile edition PUMB!

So now, sit back and relex, enjoy KOSY and PUMBing anywhere, anytime!!
🙂

SmilesDA PUMB-Edition 1.0



SmileDA is a DA for user to input smiles Icon in forum on fly!

This release is actually called PUMB Edition, as it was developed for the use of Smiles Icon in http://www.pumb.org, a forum base in Hong Kong about PDA Users and Interest.
Code has been developed with ease of changing it to support other needs, if you thinks you find a place you would like to use with SmilesDA, please feel free to contact me and I can do some changes to make some custom changes.

You will need any DA Launcher to run this DA, example App/DA Launcher, hi-Launcher or McPhling.

SmilesDA – PUMB Edition is a donate-ware for personal use.
you are free to send it to anyone you like!
If you like the software, would be nice if you can donate a little amount of money to me at my PayPal account theo(AT)rinnovative(DOT)com to show some support.

Download SmileDA – PUMB Edition here:
SmilesDA 1.0 – PUMB Edition(zip)

Programming for Palm OS

Recently, I am back to a few Palm developing for interest, did a few DAs, and a Util….

Palm programming is just so fun. 🙂

Planing on releasing them to public soon….

ROff DA

Requested by PUMBer squallelf, I just compile a quick DA.

ROff DA is a Desk Accessories for user to turn off their Palm on the fly.

Or on the other hand, it simply turn off your Palm like you press the power button.

There is no UI for this DA, as it was intent to let user switch off their Palm asap.

You will need any DA Launcher to run this DA, example App/DA Launcher, hi-Launcher or McPhling.

Download ROffDA here:
ROff DA 1.0 (zip)

CGI Programming with Perl from Oreilly …



Went to library with R today, while she was searching for books she need, spotted this book on the shelf, reminds me of the days of learning Perl back in AUS..

It would always be nice to read more, refresh my Perl, as some more function on this Weblog are being plan..

CGI Programming with Perl, Second Edition at www.oreilly.com