dynmap-neoforge/DynmapCore/src/main/resources/extracted
Евгений 0b488acc8d Fix writing non-ascii files to postgresql database
This fixes non-ascii chat messages (for example cyrillic utf8) in PostgreSQL_sendmessage.php

Before fix PostgreSQL_sendmessage.php was returning this:

Fatal error:  Uncaught PDOException: SQLSTATE[22P02]: Invalid text representation: 7 ERROR:  invalid input syntax for type bytea in /opt/minecraft/plugins/dynmap/web/standalone/PostgreSQL_funcs.php:81
Stack trace:
#0 /opt/minecraft/plugins/dynmap/web/standalone/PostgreSQL_funcs.php(81): PDOStatement->execute()
#1 /opt/minecraft/plugins/dynmap/web/standalone/PostgreSQL_funcs.php(99): updateStandaloneFileByServerId()
#2 /opt/minecraft/plugins/dynmap/web/standalone/PostgreSQL_sendmessage.php(60): updateStandaloneFile()
#3 {main}
thrown in /opt/minecraft/plugins/dynmap/web/standalone/PostgreSQL_funcs.php on line 81
2022-07-31 17:06:13 +03:00
..
colorschemes Freshen colorschemes to 1.18, deprecate dead RPs, drop block number 2022-01-22 15:13:46 -06:00
renderdata Merge DynmapCoreAPI into common gradle build 2018-08-12 00:53:55 -05:00
texturepacks/standard Merge DynmapCoreAPI into common gradle build 2018-08-12 00:53:55 -05:00
web Fix writing non-ascii files to postgresql database 2022-07-31 17:06:13 +03:00