0

On Windows Server 2008-R2, certain javascript files are exhibiting the same behavior. Text can be copied from other files and pasted into new ones.

In both NotePad++ and Windows' default notepad, characters in specific areas will either suddenly be hidden depending upon what's next to it or even switch order.

Is this a virus or some corruption that has been copied & pasted into other files or something else?

What is this?

1
  • 1
    What's the encoding of these JavaScript files? If it's UTF-8, you might have some unicode characters that are acting up. Commented Jan 3, 2014 at 22:47

1 Answer 1

2

This is an encoding issue.

If you use anything other than the most basic characters needed for English, people may not be able to read your text unless you say what character encoding you used.

For example, you may intend the text to look like this:

proper encoding

but it may actually display like this:

improper encoding

Not only does inadequate encoding information spoil the readability of displayed text, but it may mean that your data cannot be found by a search, or reliably processed in a number of other ways.

Source: https://www.w3.org/International/questions/qa-what-is-encoding.en

You must log in to answer this question.