Strange problem: I’m using the variable AppBuildDate.ShortTime to be used in a webpage:
However the result has strange characters between the time and the AM/PM indicator.
Thoughts?
Strange problem: I’m using the variable AppBuildDate.ShortTime to be used in a webpage:
However the result has strange characters between the time and the AM/PM indicator.
Thoughts?
It could be a non-breaking space. It would need to be set to UTF-8 to show correctly. I think it is a Sonoma change:
If you are fixed on using ISO-8859-1 in your output you should convert the encoding to that before adding the string to your output.
@Ian_Kennedy Thanks, actually I’m outputting an html file which I upload to the web… is there somewhere I can set the file so that it’s not UNICODE… and it makes sense that it came with Sonoma, as it never did it before… it was my suspicion.
If you’re uploading it to the web, then if you put:
<meta charset=“utf-8”>
in the <head> of the web page you are uploading, then the non-breaking char will render properly. Around 98% of all web pages are UTF-8, so you’ll be in good company.
In your header of the HTML you have a line:
If you change the line:
<meta http-equiv="Content-Type" content="text/html; charset=IS0-8859-1">
// to
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Then it should be good. Or as Tim said:
<meta charset="utf-8">
Currently your doctype is for HTML 4.01, you could look at updating to HTML5. You would have to test your html to ensure it was conformant with HTML5 standards.
<!DOCTYPE html>