NCrunch fails to display Russian text for me and shows weird symbols instead like this:
[img=http://i.imgur.com/RumWjQO.png]Unicode issue[/img]
What's more interesting, it I copy and paste the text it looks ok like this:
Repositories\OrderRepositoryWith1C.cs (229)#0: "Quadra.Api.BusinessModels.Sku" не содержит определение для "InternalId". Не удалось найти метод расширения "InternalId", принимающий первый аргумент типа "Quadra.Api.BusinessModels.Sku" (пропущена директива using или ссылка на сборку?)
Repositories\OrderRepositoryWith1C.cs (239)#1: Наиболее подходящий перегруженный метод для "System.Collections.Generic.Dictionary<string,byte[]>.this[string]" имеет несколько недопустимых аргументов
Repositories\OrderRepositoryWith1C.cs (239)#2: Аргумент "1": преобразование типа из "QuadraAPI.ApiMembers.VATType" в "string" невозможно
Repositories\OrderRepositoryWith1C.cs (241)#3: Наиболее подходящий перегруженный метод для "Quadra.Datastore.Sql.Repositories.OrderRepositoryWith1C.ApplyVAT(decimal, string, string, int)" имеет несколько недопустимых аргументов
Repositories\OrderRepositoryWith1C.cs (241)#4: Аргумент "2": преобразование типа из "QuadraAPI.ApiMembers.VATType" в "string" невозможно
Repositories\OrderRepositoryWith1C.cs (269)#5: "Quadra.Api.BusinessModels.Sku" не содержит определение для "InternalId". Не удалось найти метод расширения "InternalId", принимающий первый аргумент типа "Quadra.Api.BusinessModels.Sku" (пропущена директива using или ссылка на сборку?)
Repositories\OrderRepositoryWith1C.cs (275)#6: Наиболее подходящий перегруженный метод для "System.Collections.Generic.Dictionary<string,byte[]>.this[string]" имеет несколько недопустимых аргументов
Repositories\OrderRepositoryWith1C.cs (275)#7: Аргумент "1": преобразование типа из "QuadraAPI.ApiMembers.VATType" в "string" невозможно
Repositories\OrderRepositoryWith1C.cs (277)#8: Наиболее подходящий перегруженный метод для "Quadra.Datastore.Sql.Repositories.OrderRepositoryWith1C.ApplyVAT(decimal, string, string, int)" имеет несколько недопустимых аргументов
Repositories\OrderRepositoryWith1C.cs (277)#9: Аргумент "2": преобразование типа из "QuadraAPI.ApiMembers.VATType" в "string" невозможно
:Repositories\OrderRepositoryWith1C.cs (281)#10 "Quadra.Api.BusinessModels.Sku" не содержит определение для "InternalId". Не удалось найти метод расширения "InternalId", принимающий первый аргумент типа "Quadra.Api.BusinessModels.Sku" (пропущена директива using или ссылка на сборку?)
If there anything I can do to see the characters properly?
This is a known issue with the richedit control used to display the output from the test. Sadly, the problem is internal to the control and can only be resolved by completely replacing it (a large piece of work). Hopefully we'll get space to resolve this soon. Meanwhile, I recommend copy/pasting if you need to read Russian output from the test.
Ok, I see. It's certainly not a major issue, just a little bit annoying.
On a related note, is there any way to see compiler messages in Visual Studio language, not system language like the VS itself does?
In my Russian Windows + English Visual Studio setup I see English errors on VS error screen and Russian errors in NCrunch build error view.
The NCrunch build process must be inheriting the current UI culture from your O/S, then using this to formulate the error messages output from the build process. This is interesting - I did not know that the build process could do this.
I'm afraid that there isn't a way to fix this yourself other than changing your O/S localization. This is something that will need to be fixed in NCrunch itself. I've made a note to look at this for future releases.
I have also faced that issue two days ago and I'm also from Russia. What is interesting - issue appeared after some windows updates. Before that updates everything was ok!
Hi! Sorry, I'm wondering if you could clarify the issue you've just had come up. Is this the issue with the Tests Window showing incorrect text, or is it the issue related to build errors being shown in the wrong language?
Thanks. This would be the same issue tied back to bugs in the richedit control. We really need to get rid of this thing.
The fact that it appeared for you after Windows updates is particularly interesting. I wonder if this could have been an update related to the Russian language pack? Regardless, the component needs to go. It performs poorly and is lacking in some necessary features. Unfortunately, its a big job, which makes it quite hard to promise how soon I'll be able to do it.
I wonder about the relationship here to Windows Updates. Are you certain there isn't a different pattern of occurrence, perhaps something intermittent?
Can't say for sure. All i know is that at Monday everything worked fine in different solutions. in Tuesday everything was broken and I know there were updates.
What is most inconvenient here is that "quick go to error line" feature is broken is that case.
How does the line navigation behave? Is it that you click it and nothing happens?
I'm trying to reproduce this issue again in the hope I can find a workaround without massive amounts of development required. Which O/S are you running? Is it Windows 7?
Also - noticing that you're still running on Version 1. Does the problem appear on Version 2? The component is the same, but it doesn't hurt to try. V2 has some nice features that make it worthwhile upgrading to anyway.
I've finally managed to replace the RichEdit control that's been responsible for all of this mess.
The new control is currently in a development build. I'm hoping to push it out with the next minor release of NCrunch (v2.5). Would you be interested in giving it a try? I'm very interested in whether this solves the display corruption issues you've been seeing:
I checked it with VS2010 and it looks that encoding is fixed at least on my win7 box. I also tried to emit Chinese characters and they look to me to be same as the ones in the unicoded source.
If I understand it correctly, that backport to version 1 is not going to happen or is it?