Browse Source

Fixed an issue where the character encoding of WebBrowserComponent error messages on macOS was incorrectly displayed

tags/2021-05-28
hogliux 8 years ago
parent
commit
a05abbf6d0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_extra/native/juce_mac_WebBrowserComponent.mm

+ 1
- 1
modules/juce_gui_extra/native/juce_mac_WebBrowserComponent.mm View File

@@ -92,7 +92,7 @@ private:
// WebKit doesn't have an internal error page, so make a really simple one ourselves
if (proceedToErrorPage)
getOwner(self)->goToURL (String ("data:text/plain,") + errorString);
getOwner(self)->goToURL (String ("data:text/plain;charset=UTF-8,") + errorString);
}
}


Loading…
Cancel
Save