Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having trouble keeping special formatting while copying from Notepad++ to Visual Studio 2012.

I can't paste it here either, so I've made some images. Notepad++ This is how it looks in Notepad++

Notepad This is the Notepad encoding

The characters in question are special whitespaced values I need to save while copying the string to Visual Studio. How would I be able to do this? I've tried copying from Notepad++ to Notepad, from Notepad++ to Google Chrome and then to Visual Studio, I really tried a lot of things.

share|improve this question
What happens when you try to paste them? – Dave Jan 3 '13 at 10:48
"special whitespaced values" You mean this is a UTF-8 encoded string? – Ali Jan 3 '13 at 10:51
@DaveRook The special characters just disappear.. – Fabian Pas Jan 3 '13 at 11:05
@Ali I'm not sure what encoding it is, I'm not really good with those things... – Fabian Pas Jan 3 '13 at 11:06
If your copied string is UTF-8, try this solution:… – Ali Jan 3 '13 at 12:07

You must log in to answer this question.

Browse other questions tagged .