Non printable characters in html
How do I encode non-printable characters:
I get the "“Equip. \nPort:”"string from the server and all I have to do when i render my page, I need to display the above string in two lines as a label of a text box. System.out.println(a.indexOf(\n””)) returns -1 and hence a.replaceAll(“\n”,”<br/>”) is not happening. I guess the reason is it is a non-printable character. How do i make this happen. Thanks Back to top |
|||||
What language is that? If it's ASP the forum doesn't support ASP questions. ASP also uses really retarded newline characters, or it did last time I dealt with it, but happily that's been a while now.
Back to top |
|||||
Its JSP.
Back to top |
|||||
Wow, a JSP user, I guess there has to be a first time for everything. Sorry can't help, we don't use proprietary languages, only open source here.
Back to top |
|||||
All times are GMT - 8 Hours
|