Using special characters in RegisterConfirmEmailMessage.config

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
8/15/2010 10:33:24 AM
Gravatar
Total Posts 70

Using special characters in RegisterConfirmEmailMessage.config

Hi Joe,

I'm trying to use special characters in the Confirmation e-mail but something seems to be broken. Please note that when I use special characters in site name, everything works fine. Below are two examples with my attempts to make it work.

PS: The attempts were made using "Re-Send confirmation e-mail" from user management. 

Using the default pt-BR-RegisterConfirmEmailMessage.config 

Obrigado por se registar no {SiteName}! <br />
Sua conta ser&aacute; confirmada e desbloqueada ap&oacute;s clicar no link abaixo para. <br />
Esse procedimento &eacute; realizado para impedir que os usu&aacute;rios se registrem com seu e-mail. {ConfirmationLink}

The result is:

Obrigado por se registar no Teste de acento áéíóú! <br />
Sua conta ser&aacute; confirmada e desbloqueada ap&oacute;s clicar no link abaixo para. <br />
Esse procedimento &eacute; realizado para impedir que os usu&aacute;rios se registrem com seu e-mail. http://localhost:60941/ConfirmRegistration.aspx?ticket=cfed7c48-39dd-46e5-aa1d-341cd2a941b3

With this modified version:

Obrigado por se registar no {SiteName}!
Sua conta será confirmada e desbloqueada após clicar no link abaixo.

{ConfirmationLink}

Esse procedimento é realizado para impedir que outros usuários se registrem com seu e-mail.  

The result is:

Obrigado por se registar no Teste de acento áéíóú!
Sua conta ser� confirmada e desbloqueada ap�s clicar no link abaixo.

http://localhost:60941/ConfirmRegistration.aspx?ticket=7bd417a4-293d-4d9e-b27f-5a287984d4d8

Esse procedimento � realizado para impedir que outros usu�rios se registrem com seu e-mail.

 

Any suggestions? 

8/15/2010 12:14:04 PM
Gravatar
Total Posts 18439

Re: Using special characters in RegisterConfirmEmailMessage.config

I would try using utf-8 encoding

<!-- leave this blank for ascii encoding, allowed values are utf-8, utf-32, and unicode -->
<add key="SmtpPreferredEncoding" value=""/>

Hope it helps,

Joe

8/15/2010 2:11:47 PM
Gravatar
Total Posts 70

Re: Using special characters in RegisterConfirmEmailMessage.config

Thanks JOE !!!!

After setting utf-8 everything works !!! 

One advice: utf-8 should be uppercase. When lowercase, doesn't work.

*edit*

Actually, only way to make it work was to edit the file with notepad and: file, save as, change encoding from ansi to utf-8.

*end edit*

You must sign in to post in the forums. This thread is closed to new posts.