JCEF change browser encoding

Having problems with building or using the JCEF Java binding? Ask your questions here.

JCEF change browser encoding

Postby markhen » Tue Mar 07, 2023 12:56 pm

I am using JCEF to display email contents (very successfully, thanks to all). How can I change the default encoding in JCEF (UTF-8, UTF-16 etc.)? I see references to Browser Settings in other CEF flavors, but have not been able to figure out how to set with JCEF ?

TIA

Mark
markhen
Newbie
 
Posts: 6
Joined: Fri Jan 20, 2023 6:49 pm

Re: JCEF change browser encoding

Postby magreenblatt » Tue Mar 07, 2023 1:18 pm

JCEF does not currently expose CefBrowserSettings configuration. You can add support for that (PR welcome) or hard-code values in the native code.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: JCEF change browser encoding

Postby markhen » Wed Mar 08, 2023 3:07 pm

Thank you - I'll take a look at the code!

Cheers -

Mark
markhen
Newbie
 
Posts: 6
Joined: Fri Jan 20, 2023 6:49 pm


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 109 guests