On Mon, Aug 14, 2017 at 5:11 PM, Tony Whyman via Lazarus
wrote:
> Indeed, why isn't there a single container string type for
> all character sets where the encoding whether a legacy code page, UTF8,
> UTF16 or UTF32 is simply a dynamic attribute of the type - a sort of
> extended AnsiString?
As S
On Mon, Aug 14, 2017 at 10:21 AM, Tony Whyman via Lazarus
wrote:
>
> On 14/08/17 14:11, Marcos Douglas B. Santos via Lazarus wrote:
>>
>> FPC and Lazarus claim they are cross-platform — this is a fact — and
>> because that, IMHO, both should be use in only one way in every
>> system, don't you thi
Am 14.08.2017 16:21 schrieb "Graeme Geldenhuys via Lazarus" <
lazarus@lists.lazarus-ide.org>:
>
> On 2017-08-14 15:11, Tony Whyman via Lazarus wrote:
>>
>> ambiguous a term - especially as the Delphi/FPC UnicodeString type
>> exists and probably (but I'm not certain) means UTF-16.
>
>
> Yes, that
Am 14.08.2017 16:11 schrieb "Tony Whyman via Lazarus" <
lazarus@lists.lazarus-ide.org>:
> If nothing else, FPC Lazarus could do with a clean-up of both terminology
and string types. Indeed, why isn't there a single container string type
for all character sets where the encoding whether a legacy cod
On 2017-08-14 15:11, Tony Whyman via Lazarus wrote:
ambiguous a term - especially as the Delphi/FPC UnicodeString type
exists and probably (but I'm not certain) means UTF-16.
Yes, that is f**ken annoying. FPC should have named it what it really is
- UTF16String! But instead they followed Delp
On 14/08/17 14:46, Mattias Gaertner via Lazarus wrote:
You made need UTF-16/Unicode support for accessing Microsoft APIs but
apart from that, why is it being promoted as the universal standard?
Who does that?
Mattias
Because the obvious implication when someone argues against AnsiString
(fro
On 2017-08-13 11:51, Juha Manninen via Lazarus wrote:
Now is year 2017, Unicode has been used for decades. Everybody should
use it by now.
Indeed, I can't agree more. Plus, I normally use UTF-8 for any text
files I create.
Regards,
Graeme
--
___
On Mon, 14 Aug 2017 14:21:57 +0100
Tony Whyman via Lazarus wrote:
>[...]
> Lazarus is already a UTF8 environment.
>
> Much of the LCL assumes UTF8.
True.
> UTF8 is arguably a much more efficient way to store and transfer data
It depends.
> UTF-16/Unicode can only store 65,536 characters
On 14/08/17 14:11, Marcos Douglas B. Santos via Lazarus wrote:
FPC and Lazarus claim they are cross-platform — this is a fact — and
because that, IMHO, both should be use in only one way in every
system, don't you think?
Best regards,
Marcos Douglas
Precisely. But why this fixation on UTF-16/U
On 14.08.2017 14:50, Marcos Douglas B. Santos via Lazarus wrote:
"The right solution is to use Unicode everywhere."
Embarcadero though that this would not b the "right" solution. Otherwise
they would not have invented the encoding aware strings.
IMHO that was a good idea. They only completely
On Mon, Aug 14, 2017 at 6:53 AM, Tony Whyman via Lazarus
wrote:
>
> On 13/08/17 12:18, Juha Manninen via Lazarus wrote:
>>
>> Unicode was designed to solve exactly the problems caused by locale
>> differences.
>> Why don't you use it?
>
> I believe you effectively answer your own question in your
On Sun, Aug 13, 2017 at 7:51 AM, Juha Manninen via Lazarus
wrote:
> On Sun, Aug 13, 2017 at 1:21 AM, Bo Berglund via Lazarus
> wrote:
>> So AnsiString is not safe either
>
> That is a little misleading.
> Actually using the Windows system codepage is not safe any more.
> The current Unicode s
On 2017-08-13 11:44, Sven Barth via Lazarus wrote:
Specifying default namespaces (yes, plural) is not yet supported by FPC.
Okay, thanks for confirming that Sven.
Regards,
Graeme
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://
On 13/08/17 12:18, Juha Manninen via Lazarus wrote:
Unicode was designed to solve exactly the problems caused by locale differences.
Why don't you use it?
I believe you effectively answer your own question in your preceding post:
Actually using the Windows system codepage is not safe any more
On 13.08.2017 22:41, Juha Manninen via Lazarus wrote:
You have misused "String" or "AnsiString" from the beginning for binary data.
There have always been warnings against it.
While this might be true, it's decently silly, IMHO.
The name "String" can easily be interpreted as "String of things"
15 matches
Mail list logo