Answer the question
In order to leave comments, you need to log in
Everywhere encoding is UTF-8, but are bugs written in Postgresql?
If you manually record data, everything is fine, but if through the created site, then bugs are written to the database.
CREATE DATABASE customs
WITH
OWNER = postgres
ENCODING = 'UTF8'
LC_COLLATE = 'Russian_Russia.1251'
LC_CTYPE = 'Russian_Russia.1251'
TABLESPACE = pg_default
CONNECTION LIMIT = -1;
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
Answer the question
In order to leave comments, you need to log in
LC_COLLATE = 'Russian_Russia.1251'
LC_CTYPE = 'Russian_Russia.1251'
Far from Java, but you specify LC_CTYPE and LC_COLLATE = 1251 instead of UTF8.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question