Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   mORMot 2 Proposal: Rename RawUTF8 Type As Utf8 ? (https://www.delphipraxis.net/206504-mormot-2-proposal-rename-rawutf8-type-utf8.html)

DP News-Robot 29. Dez 2020 16:00

mORMot 2 Proposal: Rename RawUTF8 Type As Utf8 ?
 
One proposal for mORMot 2.

What if we renamed the RawUTF8 type into Utf8?

https://blog.synopse.info?post/publi...ode-UTF8_0.jpg

With a default compatibility redirection if PUREMORMOT2 is not defined, of course.


The "Raw" prefix came from early mORMot code, which used TRichView as reference for the UTF-8 encoding... but it is clearly an overhead today. And "Utf8" is shorter than "String" and "U

Weiterlesen...


Alle Zeitangaben in WEZ +1. Es ist jetzt 15:27 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz