.. _must-be-a-valid-charset: must be a valid charset ----------------------- .. meta:: :description: must be a valid charset: This is a Windows only error. :og:image: https://php-errors.readthedocs.io/en/latest/_static/logo.png :og:type: article :og:title: must be a valid charset :og:description: This is a Windows only error :og:url: https://php-errors.readthedocs.io/en/latest/messages/must-be-a-valid-charset.html :og:locale: en :twitter:card: summary_large_image :twitter:site: @exakat :twitter:title: must be a valid charset :twitter:description: must be a valid charset: This is a Windows only error :twitter:creator: @exakat :twitter:image:src: https://php-errors.readthedocs.io/en/latest/_static/logo.png .. raw:: html Description ___________ This is a Windows only error. It is related to converting a string to another encoding, and failing. No information is available about it. Example _______ .. code-block:: php Solutions _________ + Changed Behavior ________________ This error may appear following an evolution in behavior, in previous versions. See ` `_.