You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm making a CefResourceHandler to display internal resources instead of actual http(s) resources and I can't set the character encoding in the response.
Describe alternatives you've considered
In the case of html I'm adding an equivalent tag but I think that's not possible in json or js, etc.
The tag is <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
As an alternative I could generate the response in the charset encoding that the chromium is using but I don't know if thats defined or system dependant.
Additional context
I want to use URL like internal:index.html and that the content is internally provided. All I'm missing is the encoding right now.
Thanks!
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'm making a CefResourceHandler to display internal resources instead of actual http(s) resources and I can't set the character encoding in the response.
Describe the solution you'd like
I want to set the charset of CefResponse. I see it's in the C++ class.
https://github.com/chromiumembedded/cef/blob/0d50d5a8c606ab5481c2969f1236d266bd416f31/include/cef_response.h#L124C24-L124C24
Describe alternatives you've considered
In the case of html I'm adding an equivalent tag but I think that's not possible in json or js, etc.
The tag is
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
As an alternative I could generate the response in the charset encoding that the chromium is using but I don't know if thats defined or system dependant.
Additional context
I want to use URL like internal:index.html and that the content is internally provided. All I'm missing is the encoding right now.
Thanks!
The text was updated successfully, but these errors were encountered: