You are here

ansi vs unicode

5 posts / 0 new
Last post
Travis Carrico
Offline
Last seen: 15 years 4 months ago
Developer
Joined: 2006-10-22 00:30
ansi vs unicode

there is a small program i want to do and it comes in a normal version and a ansi version. both seem to open for me but i wanted to know what was gained by using the unicode version over the ansi version. i know ansi is for win98 etc i could use the ansi version or both of them.

John T. Haller
John T. Haller's picture
Online
Last seen: 15 min 51 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Both

I'd suggest using both for maximum reach. The ANSI will work everywhere, but the unicode will work with more languages.

Check out the recent Miranda IM Portable release for code you can grab. Or the older WinDirStat Portable pre-release in the forums. Both of these have OS detection code in them and automatic selection of the appropriate binary based on the host OS.

Sometimes, the impossible can become possible, if you're awesome!

LOGAN-Portable
LOGAN-Portable's picture
Offline
Last seen: 11 years 2 months ago
Developer
Joined: 2007-09-11 12:24
I assume you talk about

I assume you talk about making a portable version of the application, right?

Unicode VS ANSII. Thats like Win 2000 and up vs Win 9x.

Many languages and special characters require Unicode support. If you really want the best range.. do them both. Let NSIS check the windows version and start the appropriate version for that windows. (You said the app was small Smile

I did a CDEX launcher long ago that included both Unicode and ANSII version. And the launcher did launch the version appropriate for the windows you ran it on. If I had to choose one i had to go for Unicode. (Biggest user base and best support for Unicode filenames etc.) So it depends on the sort of application as well.

But if it's small enough you could try to do both Smile

m2
Offline
Last seen: 13 years 2 months ago
Joined: 2006-12-12 12:00
No, that's like Windows NT

No, that's like Windows NT 1.0 up. Windows 95 was obsolete from the start.
Agree that it's safest to have both..but personally I don't do it. Win 9x systems are very rare nowadays and Unicode is enough for me.

"Those people who think they know everything are a great annoyance to those of us who do." Asimov

John T. Haller
John T. Haller's picture
Online
Last seen: 15 min 51 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Depends

I think it makes the most sense when it doesn't add much to the install size. In the case of Miranda IM and WinDirStat, it doesn't add much more than 1-2MB, which I think is fair.

Worldwide, Windows 95/98/Me are around 1% of PCs online, but in some locales -- especially outside first-world countries or in lower income areas -- you'll find more Win 9x machines in net cafes and schools... so, I think it's right for us to do the small amount of additional work to ensure the platform and apps work for everybody. Smile

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments