• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
SmartHoldem Community

Community

ERROR: character with byte sequence 0xd0 0x9a in encoding "UTF8" has no equivalent in encoding "LATIN1"

Scheduled Pinned Locked Moved Блоги
1 Posts 1 Posters 1.5k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • TechnoL0gT Offline
    TechnoL0gT Offline
    TechnoL0g
    wrote on last edited by TechnoL0g
    #1

    При некорректной настройке postgresql кодировка по умолчанию LATIN1, что может привести к ошибке загрузки снимка блокчейн.

    1. решение
    sh update.sh
    crl+c
    sh firststart.sh
    
    1. решение
    sudo locale-gen en_US.UTF-8
    dropdb sth_smartholdem
    createdb -E UTF8 -T template0 --lc-collate=en_US.UTF-8 --lc-ctype=en_US.utf8 sth_smartholdem
    sh firststart.sh
    
    1. решение
    sudo locale-gen en_US.UTF-8
    dropdb sth_smartholdem
    createdb sth_smartholdem
    psql sth_smartholdem
    
    > sth_smartholdem=> show client_encoding;
     client_encoding
    -----------------
     LATIN1
    (1 row)
    
    > sth_smartholdem=> SET client_encoding = 'UTF8';
    SET
    > sth_smartholdem=> show client_encoding;
     client_encoding
    -----------------
     UTF8
    (1 row)
    
    > sth_smartholdem-> \q
    
    sh firststart.sh
    

    Эксперт по сверхъестественному в области IT / Expert in the supernatural the IT

    1 Reply Last reply
    3

Decentralized Gaming Platform
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search