Friday, August 4, 2006

Sleepless night

I want to write a Java script to read lyric files from ttplayer's hosts. I found the way easily.


the url of TTplayer's lyric server is: http://220.181.18.92/dll/lyricsvr.dll?Artist=&Title=&Flags=0  ChinaTelecom


60.28.22.65 CNC


For example:毛阿敏 相思 http://220.181.18.92/dll/lyricsvr.dll?sh?Artist=DB6B3F964F65&Title=F8761D60&Flags=0


http://60.28.22.65/dll/lyricsvr.dll?sh?Artist=DB6B3F964F65&Title=F8761D60&Flags=0


all we need to do is to turn the String of artist and title into hex.


 String.getbytes("UTF-16LE")


But this took used up the whole night.


























Charset


Description

US-ASCIISeven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the Unicode character set
ISO-8859-1  ISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1
UTF-8Eight-bit UCS Transformation Format
UTF-16BESixteen-bit UCS Transformation Format, big-endian byte order
UTF-16LESixteen-bit UCS Transformation Format, little-endian byte order
UTF-16Sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order mark

Thursday, August 3, 2006

Headache and Hungry

  I have been feeling headache since this morning, or even last evening. I didn't know why, so I thought maybe I was ill.

  Was I sick? So, what's the matter? Was there anthing wrong with my head? Did I used it too much during these two days ( I slept for only 5 hours everyday working with computer), or, I catched a cold ( I weared bothing but a shorts)?


  Then, it's the time to get up. When I begain to shout loudly that I am getting up, I was suddenly awared of the reason for my headache. It's must because...


  Hungry? Yes! You are quite ringht! I felt bad just because I was hungry. I didn't have meta or egg or other nurished food. So, I feel hungey, bad, and sick.


  It's really important to have enough and rest enough If you want to do some jobs and live a happy life.