Developer forum

Forum » Ecommerce - Standard features » Nordic special characters in order line fields.

Nordic special characters in order line fields.

Adrian Lesik
Reply

Hello all,

I'm writing this post due to we have a problem with orderlinefields and nordic special characters for example: ø, å, ä.

For some products we are using order line fields to get some info from customer to product (<input type="text" name="@orderline.GetValue("Ecom:Product.OrderLineField.InputTextFieldName")" placeholder="@Translate("Participant name")" required />)
All works fine but unfortunately this special characters in the DB are stored as ASCII HTML Code (&#248;, &#229;, &#228;) and we have got problem that ERP with live integration is not accept it.

Do you maybe know how to achive that the special characters will be stored in DB like ø, å, ä?


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hello,

I was not able to reproduced the issue using frontend has Ecom:Order:OrderLine.OrderLineField.InputTextField tag inside Order.OrderLineFields loop on last DW9.10.17 and DW9.12.3. Please, find attached images to ensure.

BR, Oleg QA 

image1.png image2.png
 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Adrian

Yes, we can see now that we for some reason have a html encode when saving the values. I would consider that is not intentional and have made a fix for 9.12.

The reason that Oleg does not see it, it because the html encoded values are rendered in the browser which of course shows them un encoded.

BR Nicolai

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

New task to track the issue - 5809. The fix will be provided in upcoming DW9.12.4 release.

BR, Oleg QA

 
Adrian Lesik
Reply

Hi
Thanks all for answers :)
I see that the 9.12.4 is already released on page at 23/11 is this fix is already there? or it will be in later version or whats the approximate date of it?

Have a nice day ;)

 

You must be logged in to post in the forum