how to write a string to a c pointer?

FG via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 5 07:36:35 PST 2015


On 2015-03-05 at 15:18, Kagamin wrote:
> On Thursday, 5 March 2015 at 13:57:45 UTC, FG wrote:
>> void main()
>> {
>>     string s = "ąćęłńóśźż";
>
> Try with string s = "ąc\u0301ęłńóśźż";

Yeah, I see your point: ą, ąc (missing diacritic), ąć, ąćę, ...
Damn those composite characters!


More information about the Digitalmars-d-learn mailing list