Hey guys,
When using special characters inside Controls, the output is ďż˝. Is there a way to fix it? It only happens inside Controls.
Hey guys,
When using special characters inside Controls, the output is ďż˝. Is there a way to fix it? It only happens inside Controls.
Are you sure that the dotcontrol
file is saved in the UTF-8 encoding? If yes, then it’s most likely a bug in DotVVM, could you please send us the file or a sample project where this occurs?
How can I check that? It’s happening in a new dotvvm project, just created the control from the right click context menu.
Your favorite text editor probably displays that somewhere. For instance, VS Code has a button in the bottom panel:
Oh I got it… I had to save the file again using UTF-8 encoding. Is there a way to select this format everytime I create a new control instead of doing it manually for dotcontrol files?
Thank you for the help!
I thing that this is default. My configuration of visual studio
For conversion you can use text editor … for exaple PSPad…
Hey,
I have the option checked, and the issue is only happening with .dotcontrol files.
That’s quite strange, as we have all of the template files in the same “UTF-8 with BOM” encoding. What was the original encoding before you changed it back to UTF-8?