Unicode

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
J. Baker
Addict
Addict
Posts: 2192
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Unicode

Post by J. Baker »

I must admit, when I first started programming, I didn't know much about unicode. Then I read an article some years ago about how important it was for developers to compile unicode executables. Since then, I just made sure I incorporated it with my development process.

But I'm curious. Has anyone purchased an app that wasn't a unicode executable and not in your language, so to say? Did it make it harder to use the app? I just never had this issue and would like to learn if there has ever been any issues with this.

Anyway, any feedback would be nice.
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Unicode

Post by Danilo »

Not all chinese, japanese, greek, russian or german people like english applications.
Many people around the world use the operating system with native language (and keyboard)
settings and prefer applications in their native language.
Million peoples around the world are not able to read any english at all.
Last edited by Danilo on Fri Sep 23, 2011 10:02 am, edited 1 time in total.
User avatar
Kukulkan
Addict
Addict
Posts: 1396
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Re: Unicode

Post by Kukulkan »

IMHO, if you ever like to translate to a language that uses other chars than ISO-8859, you will have trouble without unicode.

Kukulkan
sphinx
Enthusiast
Enthusiast
Posts: 120
Joined: Thu Oct 26, 2006 6:34 pm
Contact:

Re: Unicode

Post by sphinx »

My VB6 app does not support Unicode hence all text (Arabic) appears as ???? if non-Unicode support is disabled in Windows!
User avatar
Kukulkan
Addict
Addict
Posts: 1396
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Re: Unicode

Post by Kukulkan »

Hi Sphinx,

I think your OS does not support this language (maybe missing font). But VB definitely uses Unicode and supports all kind of languages. It is not a problem of the application, if your OS does not support you with the needed fonts. Simply try to run "charmap" on your windows computer to find out about the possible chars (use the execute field in your start-menu). Users who like to see your program in arabic translation will surely have this unicode support enabled in windows :wink:

Kukulkan
Zach
Addict
Addict
Posts: 1677
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: Unicode

Post by Zach »

Unicode only solves half the problem, however.

There still has to be the effort on the developers part, to translate the application to other languages. Unicode simply makes it easier, but Unicode or not, if you get an App that is untranslated in Unicode you'll still be looking at a foreign language you don't understand (vs a bunch of ???? and other weird symbols)
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Unicode

Post by MachineCode »

J. Baker wrote:I read an article some years ago about how important it was for developers to compile unicode executables.
I only speak English, and I'm a small independent developer. I don't have the time, money or resources to have my apps translated. What advantage would compiling to Unicode have?

(BTW, this thread isn't off-topic at all; it should go in "General Discussion").
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Re: Unicode

Post by Joakim Christiansen »

MachineCode wrote:I don't have the time, money or resources to have my apps translated.
Many people gladly do that for free if they have the option! Some likes the attention and will brag to their friends about it (that they made the translation file) if the program is "popular".
I like logic, hence I dislike humans but love computers.
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Unicode

Post by MachineCode »

Interesting, Joakim; especially about the bragging rights... would be a good way to get free advertising.

But a question about translation now: Microsoft said in one of their books, that when translating from English to another language, you should allocate at least 33% more space than the English word, since other languages are usually longer. For example, I have a ButtonGadget() of width 40 pixels and the text "Send" on it. The 40 pixels means the gadget neatly encloses the text, and means I can have a smaller overall GUI too.

But if I extend the ButtonGadget() to 40 + 33% extra pixels wide, and also for every gadget in my app, them my GUI gets bigger and has lots of wasted "white" space for English users. I don't like that, which is actually another reason that I haven't considered translation yet.

How does everyone else here deal with translations and gadget sizes that go with them?
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
User avatar
J. Baker
Addict
Addict
Posts: 2192
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: Unicode

Post by J. Baker »

MachineCode wrote:(BTW, this thread isn't off-topic at all; it should go in "General Discussion").
Could go either way. I posted here as it wasn't specifically PureBasic related. ;)
MachineCode wrote:How does everyone else here deal with translations and gadget sizes that go with them?
Now that's an interesting question. Hopefully some one knows the answer.
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: Unicode

Post by c4s »

MachineCode wrote:What advantage would compiling to Unicode have?
Easy: I once had a rather expensive backup utility which didn't support Unicode. So this program wasn't able to backup some files! I started to hate it when I realized that big issue and immediatly switched over to a much better program. I would never recommend that software company and will never buy anything from them again...
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Unicode

Post by MachineCode »

So, even if our apps don't have localized text, they can still have problems with filenames if we don't use Unicode?
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: Unicode

Post by Kuron »

MachineCode wrote:So, even if our apps don't have localized text, they can still have problems with filenames if we don't use Unicode?
Correct.
Best wishes to the PB community. Thank you for the memories. ♥️
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: Unicode

Post by blueznl »

Unfortunately, though Unicode makes things easier, it's still possible for a localized version of Windows to create files that cannot be read or used on different (other locale based) machine, even with Unicode enabled...

Funny enough, those files can always be renamed, and after that can be manipulated again.

Still, without Unicode enabled things can get very messy, so if possible enable it.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
luis
Addict
Addict
Posts: 3895
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: Unicode

Post by luis »

Joakim Christiansen wrote: Many people gladly do that for free if they have the option! Some likes the attention and will brag to their friends about it (that they made the translation file) if the program is "popular".
Sometimes even people with good intentions make horrible translations. There are tons of programs written in English (originally) and then translated by people not up to the job (in reality probably both the author and the translator shares some responsibilities) . Some text is truncated because the space for the English text was smaller, some words are poorly translated because the translator know maybe the two languages (a little) but not the technical terms used by the software, and so on.

The first thing I do when I download some shareware or freeware software defaulting to Italian (sniffing my OS locale) is to force it to use English to protect my brain cells.
"Have you tried turning it off and on again ?"
Post Reply