Home » Developing U++ » U++ Developers corner » The plan....
Re: The plan.... [message #18537 is a reply to message #18536] |
Tue, 07 October 2008 12:32 |
|
mirek
Messages: 13976 Registered: November 2005
|
Ultimate Member |
|
|
koldo wrote on Tue, 07 October 2008 05:59 | Hello luzr
I mean, as String seems to be the by default option, it tends to produce some mistakes as programmers tend to use it in functions that usually are going to be used worldwide.
|
It works quite well as long as you use UTF-8.
Quote: |
Perhaps it would be better that the by default String would be international. In addition it would be possible to have other types with smaller sizes for special things like binary files management.
|
Actually, I would say that String is used to store texts in only about 50% of usages, i18n texts in only 20%
Anyway, I believe that the correct way is UTF-8. Note also that there is HUGE performace difference between String and WString (more than magnitude). So if you e.g. have any map of names (of e.g. employees), your software might run 10x faster if they are stored as UTF-8.
Of course, this also means WString<->String flupping if you are about to manipulate individual characters, but IME this is not that big problem.
Mirek
|
|
|
|
|
The plan....
By: mirek on Sun, 24 August 2008 18:56
|
|
|
Re: The plan....
By: unodgs on Sun, 24 August 2008 19:57
|
|
|
Re: The plan....
By: chickenk on Mon, 25 August 2008 11:18
|
|
|
Re: The plan....
By: mirek on Mon, 25 August 2008 11:39
|
|
|
Re: The plan....
|
|
|
Re: The plan....
By: captainc on Mon, 25 August 2008 18:45
|
|
|
Re: The plan....
By: unodgs on Mon, 25 August 2008 20:08
|
|
|
Re: The plan....
|
|
|
Re: The plan....
By: mirek on Tue, 26 August 2008 09:09
|
|
|
Re: The plan....
|
|
|
Re: The plan....
By: amrein on Wed, 27 August 2008 21:33
|
|
|
Re: The plan....
|
|
|
Re: The plan....
By: amrein on Thu, 28 August 2008 00:08
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 05:21
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 09:02
|
|
|
Re: The plan....
By: kov_serg on Thu, 28 August 2008 09:23
|
|
|
Re: The plan....
By: unodgs on Thu, 28 August 2008 09:56
|
|
|
Re: The plan....
By: zsolt on Thu, 28 August 2008 14:21
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 14:46
|
|
|
Re: The plan....
By: zsolt on Thu, 28 August 2008 15:54
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 17:14
|
|
|
Re: The plan....
By: amrein on Thu, 28 August 2008 11:16
|
|
|
Re: The plan....
By: mirek on Fri, 29 August 2008 20:12
|
|
|
Re: The plan....
By: mirek on Fri, 29 August 2008 20:19
|
|
|
Re: The plan....
By: amrein on Fri, 29 August 2008 22:06
|
|
|
Re: The plan....
By: mirek on Fri, 29 August 2008 22:38
|
|
|
Re: The plan....
By: mr_ped on Thu, 28 August 2008 12:51
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 15:31
|
|
|
Re: The plan....
By: mr_ped on Thu, 28 August 2008 17:11
|
|
|
Re: The plan....
By: amrein on Thu, 28 August 2008 19:15
|
|
|
Re: The plan....
By: captainc on Thu, 28 August 2008 20:07
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 21:34
|
|
|
Re: The plan....
By: mirek on Fri, 29 August 2008 13:49
|
|
|
Re: The plan....
By: unodgs on Fri, 29 August 2008 14:05
|
|
|
Re: The plan....
By: amrein on Fri, 29 August 2008 23:57
|
|
|
Re: The plan....
By: cocob on Sat, 30 August 2008 12:31
|
|
|
Re: The plan....
By: Oblivion on Mon, 06 October 2008 20:50
|
|
|
Re: The plan....
By: koldo on Tue, 07 October 2008 08:20
|
|
|
Re: The plan....
By: mirek on Tue, 07 October 2008 11:07
|
|
|
Re: The plan....
By: koldo on Tue, 07 October 2008 11:59
|
|
|
Re: The plan....
By: mirek on Tue, 07 October 2008 12:32
|
|
|
Re: The plan....
By: koldo on Tue, 07 October 2008 13:13
|
|
|
Re: The plan....
|
Goto Forum:
Current Time: Thu May 09 00:37:23 CEST 2024
Total time taken to generate the page: 0.02076 seconds
|