On Monday, 3 June 2019 at 14:41:18 UTC, ag0aep6g wrote:
On 03.06.19 15:37, zoujiaqing wrote:
Error for code:
source/hunt/xml/Element.d(12,13): Error: char 0x200b not
allowed in identifier
U+200B is: ZERO WIDTH SPACE. Somehow you got that invisible
character into your code. You have to get rid of it.
To do it manually, navigate to the locations the compiler gives
you and find the spot where the cursor seems to get stuck for
one key press. That's where a zero width space is.
You can also open the file in a different non-Unicode encoding.
The zero width spaces should stick out as non-ASCII symbols.
Or you could write a program that goes over the file and
filters the zero width spaces out.
Or just re-write whole lines or the whole file by hand.
Thanks :)