there: kerniexvid.pythonanywhere.com, and there Vkontakte-oauth2
Warning at /complete/vkontakte-oauth2/ Incorrect string value: '\xD0\xA1\xD0\xB0\xD0\xB2...' for column 'first_name' at row 1
some kind of utf8 encoding problem?
the same things on localhost is fine
the part of code from vk.html:
VK.Auth.login(function(response) {
var params = "";
if (response.session) {
params = "first_name=" + encodeURI(response.session.user.first_name)+"&last_name="+encodeURI(response.session.user.last_name);
params += "&nickname=" + encodeURI(response.session.user.nickname) + "&id=" +encodeURI(response.session.user.id);
}
window.location = "{{ VK_COMPLETE_URL }}?" + params;
});