Em 10/7/2012 23:19, waldo kitty escreveu:
On 7/10/2012 07:00, Luiz Americo Pereira Camara wrote:
With the old behavior, in an system with a system code page <> UTF8,
if i try to
show the parsed value of "\u4E01" in e.g. a LCL app will get garbage.
I would expect to work correctly in any enviro
On 7/10/2012 07:00, Luiz Americo Pereira Camara wrote:
With the old behavior, in an system with a system code page <> UTF8, if i try to
show the parsed value of "\u4E01" in e.g. a LCL app will get garbage.
I would expect to work correctly in any enviroment
this means that some environments wil
Em 10/7/2012 04:59, Michael Van Canneyt escreveu:
On Tue, 10 Jul 2012, Ludo Brands wrote:
Following up on bug 22310 http://bugs.freepascal.org/view.php?id=22310
I enabled the use of UTF8 in the FPC JSON support.
The constructors of the JSON parser/scanner now accept an
extra argument
UseUTF
Em 10/7/2012 04:32, Ludo Brands escreveu:
Following up on bug 22310 http://bugs.freepascal.org/view.php?id=22310
I enabled the use of UTF8 in the FPC JSON support.
The constructors of the JSON parser/scanner now accept an
extra argument
UseUTF8 which tells them to convert JSON strings to UTF8,
In our previous episode, Michael Van Canneyt said:
> >>
> >> http://wiki.freepascal.org/index.php?title=User_Changes_Trunk
> >>
> >> to notify people of this change.
> >
> > Could you change it to use the same format/template as the other entries?
>
> We can always trust Jonas to notice such thing
On Tue, 10 Jul 2012, Jonas Maebe wrote:
On 10 Jul 2012, at 11:40, Michael Van Canneyt wrote:
I have added a section to
http://wiki.freepascal.org/index.php?title=User_Changes_Trunk
to notify people of this change.
Could you change it to use the same format/template as the other entries?
On 10 Jul 2012, at 11:40, Michael Van Canneyt wrote:
> I have added a section to
>
> http://wiki.freepascal.org/index.php?title=User_Changes_Trunk
>
> to notify people of this change.
Could you change it to use the same format/template as the other entries?
Jonas
On Tue, 10 Jul 2012, Ludo Brands wrote:
Nothing is unthinkable. The other constructs are very ugly.
I reversed the argument default value to True. UTF8 is now
the default.
A very wise decision;)
I must be getting older :)
Seriously: when json support was written, Unicode/UTF8 support
> Nothing is unthinkable. The other constructs are very ugly.
>
> I reversed the argument default value to True. UTF8 is now
> the default.
>
A very wise decision;)
Ludo
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freep
On Tue, 10 Jul 2012, Ludo Brands wrote:
So you'd reverse the constructor boolean argument to specify
Utf8 as default,
and let the user choose the old behaviour if he needs it ?
If that is "unthinkable" then define new contructors
TJSONParser.Create2(...,AUseUTF8 : Boolean = True) or Create2(
> So you'd reverse the constructor boolean argument to specify
> Utf8 as default,
> and let the user choose the old behaviour if he needs it ?
>
If that is "unthinkable" then define new contructors
TJSONParser.Create2(...,AUseUTF8 : Boolean = True) or Create2(...,AUseUTF8 :
Boolean = True) and m
On Tue, 10 Jul 2012, Ludo Brands wrote:
Because the old behaviour is not "buggy".
It simply did not support Unicode, and does the next best thing,
in casu: it transforms to the system codepage.
A car without ABS and SAT-Nav is not buggy.
It just doesn't support features which are nowadays ca
> Because the old behaviour is not "buggy".
>
> It simply did not support Unicode, and does the next best thing,
> in casu: it transforms to the system codepage.
>
> A car without ABS and SAT-Nav is not buggy.
> It just doesn't support features which are nowadays called
> standard. You can per
On Tue, 10 Jul 2012, Ludo Brands wrote:
Following up on bug 22310 http://bugs.freepascal.org/view.php?id=22310
I enabled the use of UTF8 in the FPC JSON support.
The constructors of the JSON parser/scanner now accept an
extra argument
UseUTF8 which tells them to convert JSON strings to UTF8,
> Following up on bug 22310 http://bugs.freepascal.org/view.php?id=22310
>
> I enabled the use of UTF8 in the FPC JSON support.
>
> The constructors of the JSON parser/scanner now accept an
> extra argument
> UseUTF8 which tells them to convert JSON strings to UTF8, not
> the system codepage.
Hi,
Following up on bug 22310
http://bugs.freepascal.org/view.php?id=22310
I enabled the use of UTF8 in the FPC JSON support.
The constructors of the JSON parser/scanner now accept an extra argument
UseUTF8 which tells them to convert JSON strings to UTF8, not the system codepage.
This shou
16 matches
Mail list logo