A desktop .ICO file can contain an icon image at a variety of sizes. Most of the info out there on the net about .ICO files is pretty old. I was looking around to answer the question of "Which formats should I include in my ICO file?." In-depth details about ICO files for Windows XP can be found in this MSDN article. Vista will also add support for 256x256 and 128x128 size images.
The .ICO file I just created contains these images:
256 x 256 at 32-bit (this is forward looking for Vista, 32-bit = 24 + alpha)
48 x 48 at 32-bit
32 x 32 at 32-bit
16 x 16 at 32-bit
48 x 48 at 8-bit
32 x 32 at 8-bit
16 x 16 at 8-bit
Some software that might help you in creating the perfect ICO file:
A little while ago I mentioned how Lux was adding a Japanese localization. And it did in version 5, along with some other funky languages. Since Lux is written in Java it makes it generally pretty easy to support languages that use extended character sets.
The problem is that the current build of PHP on my server doesn't have multibyte string support in it. So this means that whenever the ranking system or tracker encounter a Japanese or other multibyte character they mess them up.
Checking in my server control panel I see it looks easy enough to rebuild PHP with mbstring support. My powerbook's PHP actually came with mbstring enabled, so I already have a test bed for it.
Except PHP with mbstring enabled doesn't like normal POST data. Or it doesn't translate it how I want it to or something. Fiddling with the php.ini mbstring options doesn't seem to help, and I don't really want to go to the effort of testing multipart/form-data POST data since application/x-www-form-urlencoded is so much simpler.
In short: Bleeeech! Maybe this will end up being an excuse to rewrite some of my PHP into server-side java...
A lovely beta tester (Bryan) reported that accented characters weren't showing up properly in Lux. This was because I was just typing them into the source code. This is not the unicode way. Unicode is a character encoding set that encompasses everything you could possibly desire, like chinese letters and such. After I found the lists of unicode escape sequences and converted to using them all was well.
Posted by dustin on May 10, 2004. Tagged with unicode