Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Conversion of pasted content in textEdit UIE

$
0
0

I have a question about pasting content into a textEdit element, and the subsequent (unintended) conversion of that data.

 

The best way to viuslaize this might be to think of a simple component as follows:

create a new web dynpro component
add an attribute of type string to the view context
add a textedit element and bind to the string
add a button with a dummy action to force interaction

that'll do

create the application and run it

 

Copy, then paste in, apostrophe’d text from different sources like

  • can’t
  • We’ll
  • she’s

 

from Notepad, Word, etc.     (ymmv))

 

Hit the  button.

 

From some sources, (Word for me) my pasted in text converts, from say
                     ‘can’t’           to          ‘can#t’


When pasting from Notepad, it stays the same

 

I want to
a) understand more about this
b) know how I can maintain the integrity of what the user has pasted in a more consistent manner

 

Thanks…


Viewing all articles
Browse latest Browse all 3667

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>