Ice Rainbow , Click to back to blog home .
When you thinking of me , is the time when I missing you ...

Web Development

Web DevelopmentPMTrackbacks (0) • Full article

G.cn and AS3 LR , some talk about them

I have just seen a new entry on aw’s blog , it saids google China launch a new domain : g.cn . He make a joke on this , call it “G dian CN(G点CN)” , In Chinese , G dian can means G-spot of women . What dose google thinking about this when they heard this ? hah ...

Flash CS3 has launched a long time , and since AS 3 launch more than one year , but why Adobe don’t publish PDF format AS 3 language reference ? I don’t like to access internet again and again , to waiting the documents loading , so most time , I use Chinese version PDF document . but now , I can’t find it until now !

Fei 2007 - 10 - 29
Web DevelopmentPMTrackbacks (0) • Full article

The best AS code editor in my wish

When I back to Flash AS development , I found I don’t have a good editor for coding AS 3 . My favorite editor is SE|PY AS editor , but it is not update 8 months long until now . Flash Develop ? I can’t understand why it need both .net framework and JRE . this made me just can use it on windows , not ubuntu linux .

I want a good AS editor , the best AS code editor in my wish is :

1. Lightweight . The best is less than 5 MB .
2. Can integrate most of AS complier . best of support haXe .
3. Code syntax highlight and code tips . Custom class library supports .
4. THE MOST IMPORTANT : Cross platform .

Fei 2007 - 10 - 29
Web DevelopmentPMTrackbacks (0) • Full article

Domain names comes cheap

——dot cn domain just RMB Y1

In this spring , The largest ISP and domain parsing service company Hichina(Chinese name Wanwang http://www.net.cn/) , has launch a new compaign , It solds the top domain of China , dot cn domain names just RMB Y1(about USD$0.13) , It is the most cheap price until now .

Fei 2007 - 04 - 02
Web DevelopmentPMComments (0) • Trackbacks (0) • Full article

Mutibyte Charactor BUG in almost Europe&USA PHP Apps

There is a BIG BUG when Chinese users using lots of Europe PHP Applications . Most of them work with mySQL database , and they works very well too . But in mySQL 4.1 update , it adds a new feture to sopport muti languages . That makes PHP code different than before . If it still use the codes before , It will take lots of problems . First , when all database , tables and fields encoding is lattin_swedish_ci , and data encoding is utf8 , You can’t see any wrong in your system , it looks work very good and strong . If you are using mySQL 4.1 and working on Chinese or other mutibyte languages , now you can open the database with any tools (like phpMyAdmin ) To see data in Chinese , NOBODY can read them .Second , when all database , tables and fields encoding is utf8_gerneral_ci , and data encoding is utf8 , Now you try insert “恐怖” this two Chinese charactors in your system , when you read them from your system , it will be changed , also , nobody know what’s meaning of them . this is also seen in database .OK , if this problem just can’t read the data in phpMyAdmin or other database tools , it is not a problem , BUT , when we try to make a sql dump file , and restore them , the problem comes . You can’t get a right database and you can’t restore data to database anyway .we also find this bug in a Ajax forums applacation Vanilla , the fix solution is very easy . Once you connect to database , add a SET NAMES query to database . That’s all !

eg.

This is some code from Vanilla , it have mutibyte encoding problem :

$this->Connection = @mysql_connect($this->Context->Configuration['DATABASE_HOST'],
$this->Context->Configuration['DATABASE_USER'],
$this->Context->Configuration['DATABASE_PASSWORD']);

To fix it is very easy :

$this->Connection = @mysql_connect($this->Context->Configuration['DATABASE_HOST'],
$this->Context->Configuration['DATABASE_USER'],
$this->Context->Configuration['DATABASE_PASSWORD']);
@mysql_query('SET NAMES "utf8"', $this->Connection);]

Fei 2006 - 08 - 20
Page 1 , Total 1 pages .
Copyright © icebird , 2006-2009