Error installing postgreSQL with unzipped package

report an error after installing postgresql with the installation package
decompress to disk c and create a data folder under c:pgsql
enter
c:pgsqlbin > initdb.exe-D C:pgsqldata-E UTF8-- locale=C
error
2018-12-04 22MAV 40MAV 03.694 HKT [7504] FATAL: invalid byte sequence for encoding "UTF8": 0xd3 0xe0
child process has exited and the exit code is 1
initdb: to delete the contents of the data directory "C:/pgsql/data"

.

what is it?

Jan.10,2022
Menu