f# - FAKE: CreateCSharpAssemblyInfo has difficulties with German umlauts -


when i'm using german umlauts in values attributes converted garbage.

target "assemblyinfo" (fun _ ->     createcsharpassemblyinfo "./src/app1/properties/assemblyinfo.cs"         [             attribute.title       "app1"             attribute.product     "some umlauts: äüö"         ] ) 

when build completed find in assemblyinfo.cs:

[assembly: assemblyproductattribute("some umlauts: ���")] 

how can avoid this?

i have solved problem replacing umlaut characters there corresponding unicode codes:

attribute.product "some umlauts: \u00e4\u00fc\u00f6" 

update

using unicode characters works real cause encoding problem. after changing encoding of build script utf-8 umlauts translated correctly. (thanks @carsten , @mthierba)


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -