Dealing with unicode

2016-07-29 Thread Fabian via Digitalmars-d-learn
I'm trying to add support for unicode to my app in D and having issues. string str = "Pokémon No"; writeln(str); this outputs: Pok├®mon No what I want to do is change the funky character such that the string reads: Pok\u00e9mon No as \u00e9 == é how can i do this in D?

Re: Things that make writing a clean binding system more difficult

2016-07-29 Thread Timon Gehr via Digitalmars-d
On 29.07.2016 06:52, Jonathan M Davis via Digitalmars-d wrote: On Friday, July 29, 2016 06:44:16 Timon Gehr via Digitalmars-d wrote: My parser accepts the following: int function(int,int)ref functionPointer; I wasn't really aware that this was illegal in DMD. (Other function attributes, such

Re: Documented unittests & code coverage

2016-07-29 Thread Jack Stouffer via Digitalmars-d
On Friday, 29 July 2016 at 05:12:58 UTC, Walter Bright wrote: As soon as we start taking the % coverage too seriously, we are in trouble. It's never going to be cut and dried what should be tested and what is unreasonable to test, and I see no point in arguing about it. The % is a useful

<    1   2