Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TextArea and line breaks
Message
De
07/08/2017 16:08:11
 
 
Information générale
Forum:
HTML5
Catégorie:
HTML
Divers
Thread ID:
01653125
Message ID:
01653133
Vues:
40
J'aime (1)
>I looked at the code. There is nothing extra, the text I was passing was
>
>"// Comment Test\n\nSUB(BASE G1) \nSUB(FACTORS) \nSUB(2GM1) \nSUB(3+GM1) \nROUND(1.00)"
>
>and I got exactly same text back as well. I'll look in the SQL Server now.
>
>When I changed Query Output to text it also looks correct to me.
>
>So, perhaps there is no problem at all.

I did paste that text into a VarChar(MAX) field and it was saved ok. I was able to display it back into a HTML form as is.

However, in that text, carriage returns are being represented by special characters. Did the user do a carriage return or entered the equivalent in that encoding syntax?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform