Title: Encoding error
Last modified: January 5, 2023

---

# Encoding error

 *  [friskiu2](https://wordpress.org/support/users/friskiu2/)
 * (@friskiu2)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/encoding-error-8/)
 * Hello John,
 * we get the following error in the log when using WP Lynx at many websites (not
   all):
 *     ```wp-block-code
       Fatal error: Uncaught ValueError: mb_convert_encoding(): Argument #3 ($from_encoding) contains invalid encoding "CHARSET" in /wp-content/plugins/wp-lynx/class.llynx_scrape.php:116
       Stack Trace
   
       1.mb_convert_encoding('...', 'UTF-8', 'CHARSET')/wp-content/plugins/wp-lynx/class.llynx_scrape.php:116
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [John Havlik](https://wordpress.org/support/users/mtekk/)
 * (@mtekk)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/encoding-error-8/#post-16343593)
 * Do you have an example URL that is exhibiting this behavior? It appears something
   on the sites you are tying is breaking the character set detection. That said,
   letting PHP just do the character detection seems to maybe work better now days(
   if you have a couple of URLs that are currently causing you issues I can test
   them against the proposed change).
 *  Thread Starter [friskiu2](https://wordpress.org/support/users/friskiu2/)
 * (@friskiu2)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/encoding-error-8/#post-16343685)
 * John,
 * Thanks for a speedy response. Here are some links that have failed:
 * [https://linguapress.com/advanced/mardi-gras-orleans.htm](https://linguapress.com/advanced/mardi-gras-orleans.htm)
 * [https://yippity.io/](https://yippity.io/)
 * [https://www.roshi.ai/](https://www.roshi.ai/)
 * [https://www.jellurgal.com.au/about](https://www.jellurgal.com.au/about)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Encoding error’ is closed to new replies.

 * ![](https://ps.w.org/wp-lynx/assets/icon.svg?rev=971488)
 * [WP Lynx](https://wordpress.org/plugins/wp-lynx/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-lynx/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-lynx/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-lynx/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-lynx/reviews/)

## Tags

 * [encoding](https://wordpress.org/support/topic-tag/encoding/)

 * 2 replies
 * 2 participants
 * Last reply from: [friskiu2](https://wordpress.org/support/users/friskiu2/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/encoding-error-8/#post-16343685)
 * Status: not resolved