Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Possible bug in T4
 

Possible bug in T4

I have a simple T4 template and want to write this comment to the output:
// só para os serviços que têm ORIVIRTUAL no conteudo

Instead of writing that comment it writes this one:
// s�para os servi�os que t�m ORIVIRTUAL no conteudo


notice that characters with 'ó', ´ç´, 'ê' are replaced with ? here in the post but in the VS this caracter is a square Smile

In hex the chars 'ó', ´ç´, 'ê' are replaced with:

0xEF
0xBF
0xBD
Pedro Rainho  Monday, December 17, 2007 6:20 PM
Looks like a encoding issue, have you tried the "Encoding" attribute of the "Template" directive?
vga  Wednesday, December 19, 2007 6:28 AM
Looks like a encoding issue, have you tried the "Encoding" attribute of the "Template" directive?
vga  Wednesday, December 19, 2007 6:28 AM

You can use google to search for other answers

Custom Search

More Threads

• System.Runtime.InteropServices.COMException (0x80004005): Not a valid file name
• Declaratively determining if an action runs, or a item template unfolds
• unistallation issue with guidence automation and Wssf december 2006 release
• How to use a custom utilty in GAT for geenrating Class files.
• System.TypeLoadException when starting a new project of type "Web Service Software Factory (WCF)"
• Call TextTemplateAction from within a "CreateProject" action
• Access to $fileinputname$ from Recipe
• GAT Wrapper
• Smart Client Development - problem whit context menu i VS2005
• Unbound reference to a filetype