sten nilsson
Customers
Post Count:36
 |
| 29 Sep 2010 06:07 AM |
|
- Type of Feedback: Something I hate
I have problem with non english characters in automatic notification email and when sending messages from message center. Any solution? |
|
|
|
|
Will Morgenweck
Forum Admin
DotNetNuke Staff
Post Count:7672
 |
| 07 Oct 2010 04:35 PM |
|
added to release notes as fixed for next release. |
|
Will Morgenweck
Director of Product Management
DotNetNuke Corp.
|
|
|
sten nilsson
Customers
Post Count:36
 |
| 08 Oct 2010 02:55 AM |
|
Hope it will be soon because it's a huge problem when the portal default language is not english. |
|
|
|
|
DNNhost
Customers
Post Count:53
 |
| 15 Oct 2010 07:28 AM |
|
Hi , when is new release expected. This is a showstopper on a website, that is alredy launched.
Is there maybe a shorttime fix .. we could implement ?
At the moment we use /Admin/User Accounts/ page to remove HTML characers and update profiles, but feeds and other stuff in JOURNAL is also messing up the text |
|
|
|
|
sten nilsson
Customers
Post Count:36
 |
| 04 Nov 2010 07:17 AM |
|
Any news when the new release will be available? This is really a problem for an existing website ... and it has been to long now! |
|
|
|
|
Will Morgenweck
Forum Admin
DotNetNuke Staff
Post Count:7672
 |
|
sten nilsson
Customers
Post Count:36
 |
| 04 Nov 2010 07:23 AM |
|
Thanks  |
|
|
|
|
sten nilsson
Customers
Post Count:36
 |
| 19 Nov 2010 05:39 AM |
|
Sorry but there is still problem with non english characters. When writing on my profile wall it's ok but when looking at the Members directory where the last news is displayed it's written wrong and it's the same on my profile above the profile picture where the last news is displayed. On wall: Fredag och på väg in till Lund. Members dir. and profile page above profile picture: Fredag och på väg in till Lund. |
|
|
|
|
sten nilsson
Customers
Post Count:36
 |
| 27 Jan 2011 03:20 AM |
|
I have just upgraded to latest version of AS and still have the same problem with non english characters? Isn't it solved for this release? |
|
|
|
|
David Voß
Customers
Post Count:14
 |
| 27 Jan 2011 05:24 AM |
|
Hi Sten,
there have been changes in Message Templates with the latest releases. Did you upgrade your Message templates ? I just checked my message center with special german characters (ÄÜÖß) and everything looks fine.
David |
|
|
|
|
sten nilsson
Customers
Post Count:36
 |
| 31 Jan 2011 08:14 AM |
|
It's not the Message templates generating the wrong characters. In the ProfileView template it's [AS:PROFILE:USERSTATUS] generating the strange characters and in the MembersList template it's [AS:PROFILE:STATUS] Can't see that these two templates have changed in the new version? |
|
|
|
|
David Voß
Customers
Post Count:14
 |
| 03 Feb 2011 01:32 AM |
|
You are right. I remember that I deleted user status in Memberlist template because of this. I found another tag in group edit template (group description). I think all these issues are related to missing htmlencode/decode calls in the sources of AS. Maybe we should ask Will to open a new internationalization thread to collect all these isues. I have the feeling that this would help to raise AS to a higher quality level regarding this. |
|
|
|
|
sten nilsson
Customers
Post Count:36
 |
| 03 Feb 2011 07:12 AM |
|
Agree. I have had the problem since first installation and it doesn't look nice for people using the AS when it's displayed with strange ASCII characters. I have created a ticket again ... hope for a solution soon. |
|
|
|
|
David Voß
Customers
Post Count:14
 |
| 04 Feb 2011 08:57 AM |
|
Hi Sten,
how did you do that ? Ist there a ticket system or at least a ticket form somewhere ? I didn´t find anything. I would like to open one too since this encoding/decoding problem on the group edit template (e.g. asp textbox with id="txtGroupDesc") is a show stopper for my project. (see attached screenshot)
David |
encoding_issues.JPG
|
|
|
|
David Voß
Customers
Post Count:14
 |
| 04 Feb 2011 03:22 PM |
|
Sten,
I have a workaround for you !
I thought there must be a way to inject some javscript code to do the html decoding job. And, guess what, there is an quite easy js workaround. So here is what I did: 1. Figure out what kind of HTML tag is surrounding the text with weird ascii characters in it (span, textarea, input type text,...) and write down its id. (E.g. as9Stat is the id of span tag in profile view, which is not correctly decoded 2. Figure out which AS template is related to your view. (e.g. profileview) 3. Open design view in AS admin and edit the aprop. template. 4. Add the javascript code to the BOTTOM of the template (see jpg) 5. Modify the method call getelementById() to suit your needs. (parameter =id) 6. If your tag is a div, span or textarea tag, leave the property .innerText, otherwise if you are dealing with input tags change it to .value
That´s it. Now this tag shows up correctly decoded characters on the client side. Of course this is really quick and dirty and as an C# developer I would rather fire up VS and modify the AS sources but unfortunately I don´t have them ;-)
David
|
decode_workaround.JPG
|
|
|
|
sten nilsson
Customers
Post Count:36
 |
| 07 Feb 2011 04:37 AM |
|
Under Community --> Quick Links --> Help desk you'll find the help desk for customers with current support agreements. I have reported the issue here and they have been able to reproduce it and have answered that they will fix it asap. Thanks for the workaround. |
|
|
|
|
DNNhost
Customers
Post Count:53
 |
| 18 Feb 2011 04:01 PM |
|
|
Import of Ventrian News RSS into Group or Profile
http://www.ventrian.com/Support/Pro...fault.aspx
In Journal item template
we replaced
[ AS:JOURNALINFO:DI:SUMMARY ]
with this
< span name="RSSimportBody" >[ AS:JOURNALINFO:DI:SUMMARY ]< /span >
and then added script to page
(can even be addet to view template)
< script type= "text/javascript">
function html_entity_decode(string) {
var temphtml=document.createElement('textarea');
temphtml.innerHTML = string;
return temphtml.value;
}
$(document).ready(function() {
var myelem=document.getElementsByName('RSSimportBody');
// alert(myelem.length);
for (var i = 0; i< p="">/p>
{
//myelem.innerText
myelem.innerText=html_entity_decode(myelem.innerText);
}
});
< /script >
|
|
|
|
|
|