using <cfcontent type="text/event-stream"> in ColdFusion, the non-English characters are displayed as question marks: ???????123123???? ???, but the rest of the page can display non-English characters just fine.
I followed this tutuorial and tried
<cfheader name="Content-Type" value="text/event-stream; charset=utf-8">
and also
<cfcontent type="text/event-stream; charset=utf-8">
Both of them do not work with Chrome (doesn’t pick up, developer tool reported “pending” with no reconnection.
Just tried the following code and it’s working fine (showing the correct characters in Chrome’s console)…
testHTML5ServerSent events
sendServerSentEvents.cfm