[jbosstools-dev] General help question: Any idea how to get Eclipse to stop modifying my surname after importing prefs?

Snjezana Peco snjezana.peco at redhat.com
Fri May 15 04:25:18 EDT 2009


You have probably created *.epf file using some buggy utility.
*.epf file can contain only Latin-1 and/or Unicode-encoded characters.
See http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/native2ascii.html
Your encoded name is Galder Zamarre\u00F1o.
If you export preferences using the Eclipse Export Preferences command, 
you will get the correct file.

Snjeza

Galder Zamarreno wrote:
> Hi guys,
>
> I have a general Eclipse question for you:
>
> In my prefs file, I have the following line:
>
> main.epf:463:/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.text.custom_code_templates=<?xml 
> version\="1.0" encoding\="UTF-8" 
> standalone\="no"?><templates>...<template autoinsert\="false" 
> context\="typecomment_context" deleted\="false" description\="Comment 
> for created types" enabled\="true" 
> id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" 
> name\="typecomment">/**\n * ${type_name}.\n * \n * @author Galder 
> Zamarreño\n */</template><template autoinsert\="true" 
> context\="fieldcomment_context" deleted\="false" description\="Comment 
> for fields" enabled\="true" 
> id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" 
> name\="fieldcomment">/** The ${field} */</template>...</templates>
>
> My name appears there as: Galder Zamarreño
>
> However, after importing it, my author template looks like this:
>
> /**
>  * ${type_name}.
>  *
>  * @author Galder Zamarreño
>  */
>
> Any idea how I can get Eclipse to freaking leave my surname *as it is*?
>
> Thanks in advance :)




More information about the jbosstools-dev mailing list