How make wsatring or dstring default for string and literals?

Marcone marcone at email.com
Mon Feb 24 21:25:50 UTC 2020


On Monday, 24 February 2020 at 19:28:43 UTC, Adam D. Ruppe wrote:
> On Monday, 24 February 2020 at 19:27:04 UTC, Marcone wrote:
>> I live in Brazil and speak português brasileiro and need make 
>> programs that is good with words like ã, á, ç, ê, etc.
>
> Regular string works with those just fine too.

	foreach(i; "Canção")
	{
		writeln(i);
	}
Prints:

C
a
n
�
�
�
�
o


More information about the Digitalmars-d-learn mailing list