Skip to content
  • Andrea Iacovitti's avatar
    Fix selection of character encoding for form submission. · 2564f320
    Andrea Iacovitti authored
    Previous implementation didn't really test for all charset
    in accept-charset attribute as KCharsets::codecForName(const QString&)
    never return null, instead it returns iso-8859-1 if the codec could not be found.
    Also fallback to UTF-8 if none could be used, as per html5 spec.
    2564f320