Welcome! Log In Create A New Profile

Advanced

Encoding in file included by geo

Posted by Alex Mashin 
Encoding in file included by geo
April 02, 2016 12:24PM
Hi,

I use geo module in nginx 1.8.1. It has several geo directives that include files with IP to geodata mappings.

Unfortunately, the encoding in city and country names is messed up when the variables are sent back as HTTP headers or passed to the backend. The included files are in UTF-8 without BOM.

So, the question is: in what charset should I encode the files that are included by geo directives?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 116
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready