R
R
roman38472014-05-03 10:25:11
Java
roman3847, 2014-05-03 10:25:11

How to create a String with special characters?

String s = "<meta http-equiv="Content-Type" content="text/html;charset=windows-1251">";

For example, such.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Unger, 2014-05-03
@roman3847

String s = "<meta http-equiv=\"Content-Type\" content=\"text/html;charset=windows-1251\">";

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question