OpenResty® Scalable Web Platform by Extending NGINX with Lua

OpenResty XRay

Advanced observability built for OpenResty and more


limited time offer

Request TRIAL today and receive a diagnostic REPORT
Learn more

Iconv Nginx Module

Yichun Zhang , 22 Jun 2011 (created 21 Jun 2011)

This is an Nginx module that uses libiconv to convert characters of different encoding. It brings the set_iconv and iconv_filter commands to Nginx.

It can either process Nginx variables or process response bodies as an output filter.

This module is not enabled by default, and you need to specify the --with-http_iconv_module option while building OpenResty. This Nginx module requires libiconv to be installed into your system.

Use cases:,206658,207119

Project page: