digitalmars.D.announce - A D port of utf8proc
- Ferhat =?UTF-8?B?S3VydHVsbXXFnw==?= (4/4) Apr 11 2020 I could not find a similar library working with -betterC, so I
- =?utf-8?Q?Robert_M._M=C3=BCnch?= (6/11) Apr 12 2020 What does it provide more then std.utf and std.uni beside BetterC suppor...
- Ferhat =?UTF-8?B?S3VydHVsbXXFnw==?= (3/12) Apr 12 2020 I did not deeply dive into the library apart from porting it. I
- MrSmith (5/9) Apr 12 2020 in readme this expression is wrong: `(mstring.sizeof /
- MrSmith (3/14) Apr 12 2020 Actually even `mstring.length + 1` to account for null byte. But
- Ferhat =?UTF-8?B?S3VydHVsbXXFnw==?= (2/18) Apr 12 2020 got it thank you!
I could not find a similar library working with -betterC, so I ported utf8proc. https://github.com/aferust/utf8proc-d Please test it, contribute it, and enjoy!
Apr 11 2020
On 2020-04-11 23:36:17 +0000, Ferhat Kurtulmuş said:I could not find a similar library working with -betterC, so I ported utf8proc. https://github.com/aferust/utf8proc-d Please test it, contribute it, and enjoy!What does it provide more then std.utf and std.uni beside BetterC support? -- Robert M. Münch http://www.saphirion.com smarter | better | faster
Apr 12 2020
On Sunday, 12 April 2020 at 12:33:13 UTC, Robert M. Münch wrote:On 2020-04-11 23:36:17 +0000, Ferhat Kurtulmuş said:I did not deeply dive into the library apart from porting it. I don't think that you will need it when phobos is available.I could not find a similar library working with -betterC, so I ported utf8proc. https://github.com/aferust/utf8proc-d Please test it, contribute it, and enjoy!What does it provide more then std.utf and std.uni beside BetterC support?
Apr 12 2020
On Saturday, 11 April 2020 at 23:36:17 UTC, Ferhat Kurtulmuş wrote:I could not find a similar library working with -betterC, so I ported utf8proc. https://github.com/aferust/utf8proc-d Please test it, contribute it, and enjoy!in readme this expression is wrong: `(mstring.sizeof / ubyte.sizeof) * mstring.length` should be `mstring.length` instead
Apr 12 2020
On Sunday, 12 April 2020 at 13:34:49 UTC, MrSmith wrote:On Saturday, 11 April 2020 at 23:36:17 UTC, Ferhat Kurtulmuş wrote:Actually even `mstring.length + 1` to account for null byte. But you may pass mstring.length to `utf8proc_map` instead of 0 length.I could not find a similar library working with -betterC, so I ported utf8proc. https://github.com/aferust/utf8proc-d Please test it, contribute it, and enjoy!in readme this expression is wrong: `(mstring.sizeof / ubyte.sizeof) * mstring.length` should be `mstring.length` instead
Apr 12 2020
On Sunday, 12 April 2020 at 13:41:38 UTC, MrSmith wrote:On Sunday, 12 April 2020 at 13:34:49 UTC, MrSmith wrote:got it thank you!On Saturday, 11 April 2020 at 23:36:17 UTC, Ferhat Kurtulmuş wrote:Actually even `mstring.length + 1` to account for null byte. But you may pass mstring.length to `utf8proc_map` instead of 0 length.I could not find a similar library working with -betterC, so I ported utf8proc. https://github.com/aferust/utf8proc-d Please test it, contribute it, and enjoy!in readme this expression is wrong: `(mstring.sizeof / ubyte.sizeof) * mstring.length` should be `mstring.length` instead
Apr 12 2020