{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "549096",
   "self": "https://bugs.mojang.com/rest/api/2/issue/549096",
   "key": "BDS-18961",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "10001",
      "customfield_10500": {
         "self": "https://bugs.mojang.com/rest/api/2/customFieldOption/10300",
         "value": "Unconfirmed",
         "id": "10300",
         "disabled": false
      },
      "customfield_12800": null,
      "customfield_12602": [],
      "customfield_12601": null,
      "customfield_12604": null,
      "customfield_12603": null,
      "customfield_12606": null,
      "customfield_12605": null,
      "customfield_12608": null,
      "resolutiondate": "2024-07-10T19:14:13.000+0300",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-18961/watchers",
         "watchCount": 1,
         "isWatching": false
      },
      "created": "2024-01-14T06:14:56.000+0200",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [
         "command"
      ],
      "customfield_11700": "{}",
      "versions": [
         "21831"
      ],
      "issuelinks": [],
      "assignee": null,
      "updated": "2024-07-10T19:14:13.000+0300",
      "status": "5",
      "description": "Even though Minecraft Bedrock 1.20 claims to support UTF-8 and the command \"say \u4f60\u597d\" displays chinese correctly when entering it directly into the bedrock_server.exe, I encountered an issue when attempting to run bedrock_server.exe as a subprocess in a Python program. \r\nCommands with {color:#ff0000}UTF-8{color} characters input into this subprocess are automatically decoded into {color:#ff0000}ISO-8859-1{color} characters. As a result, the original Chinese characters \"\u4f60\u597d\" on the server and cilent appear as \"\u00e4\u00bd \u00e5\u00a5\u00bd\"\r\n\r\n!image-2024-01-14-11-31-50-317.png|thumbnail!\r\n\r\nThis screenshot shows the official bedrock_server.exe running independently.\r\n\r\n\u00a0\r\n\r\nbut in python\r\n\r\n!image-2024-01-14-11-33-39-088.png|thumbnail!\r\n\r\n!image-2024-01-14-17-45-56-736.png|width=277,height=147!\r\n\r\nI wrote it into a Python subprocess to facilitate remote command sending and receiving comments. Originally, I intended for comments on my live channel to be displayed as dialogues in Minecraft. However, I discovered that Chinese characters were being compiled into Latin letters.\r\n\r\n!image-2024-01-14-11-38-06-542.png!\r\n\r\n!image-2024-01-14-11-37-51-737.png|width=755,height=34,thumbnail!\r\n\r\nEven though I have enabled UTF-8 encoding for the pipeline, it still doesn't work. This issue doesn't exist when interacting with other programs. I suspect that the subprocess form may cause some internal code in the server program to handle UTF-8 characters in the same way as in previous versions, converting them into ISO-8859-1.\r\n\r\n\u00a0\r\n\r\nI have another piece of code here that can be used to illustrate what happened.\r\n\r\n!image-2024-01-14-12-06-00-898.png|thumbnail!\r\n\r\n!image-2024-01-14-12-06-28-403.png!\r\n\r\nI have attached my code in the comments section\r\n\r\nIf a solution can be identified, I would be extremely grateful. If the issue lies within the server program itself, I sincerely hope it can be resolved.\u00a0 \u00a0Thank you\uff01",
      "customfield_11100": 0.0,
      "customfield_11300": null,
      "customfield_11500": null,
      "customfield_12503": null,
      "customfield_12700": "[Briefly describe the bug here]\r\n\r\n*Steps to Reproduce:*\r\n# [Step 1]\r\n# [Step 2]\r\n# [Step 3]\r\n\r\n*Observed Results:*\r\n[Describe what happens]\r\n\r\n*Expected Results:*\r\n[Describe what should happen]\r\n\r\n*Screenshots/Videos attached:* [please attach an image or short video]\r\n\r\n*Notes:*",
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [
         "559280",
         "559279",
         "559278",
         "559277",
         "559274",
         "559273",
         "559272",
         "559271",
         "559286"
      ],
      "summary": "Bedrock Dedicated Server Unknown encoding error",
      "creator": "JIRAUSER769986",
      "reporter": "JIRAUSER769986",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i2g1uv:",
      "environment": "Windows Server 2022 Datacenter 21H2 inter 20348.1970 bedrock_server.exe for bedrock 1.20.51",
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/549096/comment/1299655",
               "id": "1299655",
               "author": "JIRAUSER769986",
               "body": "#This is my Python code\r\n\r\n\u00a0\r\n\r\n#from selenium import webdriver\r\n#from selenium.webdriver.common.by import By\r\n#from bs4 import BeautifulSoup\r\nimport subprocess\r\nimport asyncio\r\nimport websockets\r\nimport shutil\r\nimport os\r\nimport time\r\nfrom time import gmtime, strftime\r\nimport _thread\r\nencoding = 'utf-8'\r\nchat_historty = []\r\nhistory_queue = []\r\nlinks = []\r\nlastsend = \"\"\r\nprocess = subprocess.Popen(['bedrock_server.exe'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT \\\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0, text=True, encoding=encoding, creationflags=subprocess.CREATE_NEW_PROCESS_GROUP)\r\n\r\n\r\ndef server_order(msg):\r\n\u00a0 \u00a0 \u00a0 \u00a0 w = msg + \"\\n\"\r\n\u00a0 \u00a0 \u00a0 \u00a0 process.stdin.write(w)\r\n\u00a0 \u00a0 \u00a0 \u00a0 process.stdin.flush()\r\n\u00a0 \u00a0 \u00a0 \u00a0\u00a0\r\ndef server_sender(msg):\r\n\u00a0 \u00a0 \u00a0 \u00a0 #w = 'say '+msg +'\\n'\r\n\u00a0 \u00a0 \u00a0 \u00a0 #process.stdin.write(w)\r\n\u00a0 \u00a0 \u00a0 \u00a0 #process.stdin.flush()\r\n\u00a0 \u00a0 \u00a0 \u00a0 server_order(f\"say \\{msg}\\n\")\r\n\r\n\u00a0\r\n\r\n\r\ndef count_subdirectories(folder_path):\r\n\u00a0 \u00a0 items = os.listdir(folder_path)\r\n\u00a0 \u00a0 subdirectories = [item for item in items if os.path.isdir(os.path.join(folder_path, item))]\r\n\u00a0 \u00a0 return len(subdirectories)\r\n\r\n\r\ndef run_scripts(): \u00a0# a message sender\r\n\u00a0 \u00a0 \u00a0 \u00a0 # still run\r\n\u00a0 \u00a0 \u00a0 \u00a0 while True:\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 time.sleep(3.5)\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 msg = \"\u4f60\u597d\"\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 print(\"msg in python: \", msg)\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 server_order(msg) # check immediately\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 server_sender(msg) # check in game\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0\r\n\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0\r\n\r\ndef read_live(): \u00a0# a message sender\r\n\u00a0 \u00a0 # Send comments from my live channel\r\n\u00a0 \u00a0 # For privacy reasons, I did not display the cookies code here\r\n\u00a0 \u00a0 pass\r\n\r\ndef run_popen():\r\n\u00a0 \u00a0 global lastsend\r\n\u00a0 \u00a0 def run_async_function(func, args):\r\n\u00a0 \u00a0 \u00a0 \u00a0 # Running asynchronous functions in a new protocol\r\n\u00a0 \u00a0 \u00a0 \u00a0 loop = asyncio.new_event_loop()\r\n\u00a0 \u00a0 \u00a0 \u00a0 asyncio.set_event_loop(loop)\r\n\r\n\u00a0 \u00a0 \u00a0 \u00a0 try:\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 loop.run_until_complete(func(args))\r\n\u00a0 \u00a0 \u00a0 \u00a0 finally:\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 loop.close()\r\n\u00a0 \u00a0 while True:\r\n\u00a0 \u00a0 \u00a0 \u00a0 try:\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 output = process.stdout.readline()\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 if output == '' and process.poll() is not None:\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 print(\"not null but get nothing\")\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 break\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 if output:\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 print(\"get message from process => \", output.strip())\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 time = strftime('%a, %d %b %Y %H:%M:%S', gmtime())\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 timestamped_output = f\"\\{output.strip()}\\t\\{time}\"\r\n\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 if lastsend != time:\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 history_queue.append(timestamped_output)\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 for L in links:\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 run_async_function(L.send, timestamped_output)\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 lastsend = time\r\n\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0\r\n\u00a0 \u00a0\u00a0\r\n\u00a0 \u00a0 \u00a0 \u00a0 except asyncio.CancelledError:\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 break\r\n\u00a0 \u00a0 \u00a0 \u00a0 except websockets.exceptions.ConnectionClosedOK:\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 break\r\n\u00a0 \u00a0 \u00a0 \u00a0 except Exception as e:\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 print(f\"An error occurred in run_popen: \\{e}\")\r\n\r\n\u00a0\r\n\r\nasync def handle_client(websocket, path):\r\n\u00a0 \u00a0 links.append(websocket)\r\n\u00a0 \u00a0 global history_queue\r\n\u00a0 \u00a0 global process\r\n\u00a0 \u00a0 print(\"listening\")\r\n\r\n\u00a0 \u00a0 # functions\r\n\u00a0 \u00a0\u00a0\r\n\u00a0 \u00a0\u00a0\r\n\u00a0 \u00a0 try:\r\n\u00a0 \u00a0 \u00a0 \u00a0 # send history chats to websocket client\r\n\r\n\u00a0 \u00a0 \u00a0 \u00a0 for history_entry in history_queue:\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 await websocket.send(history_entry)\r\n\u00a0 \u00a0 \u00a0 \u00a0\u00a0\r\n\r\n\u00a0 \u00a0 \u00a0 \u00a0 # listening messages from websocket client\r\n\u00a0 \u00a0 \u00a0 \u00a0 while True:\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 message = await websocket.recv()\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 print(f\"Message from Client: \\{message}\")\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 server_sender(message)\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 server_order(message)\r\n\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 if message == \"stop\":\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 print(\"stopping...\")\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 if process:\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 process.terminate()\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 break\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 elif message == \"restart\":\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 print(\"need restart\")\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 process.kill()\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 print(\"killed\")\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 process = subprocess.Popen(['bedrock_server.exe'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT,\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0text=True,encoding=encoding, creationflags=subprocess.CREATE_NEW_PROCESS_GROUP)\r\n\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 elif message == \"/new_world\":\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 if process:\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 process.terminate()\r\n\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 # create target folder\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 old_worlds_folder = \"old_worlds\"\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 if not os.path.exists(old_worlds_folder):\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 os.makedirs(old_worlds_folder)\r\n\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 old_name = f\"old_world\\{count_subdirectories(old_worlds_folder) + 1}\"\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 os.mkdir(old_name)\r\n\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 shutil.move(\"worlds/Bedrock level\", os.path.join(old_worlds_folder, old_name))\r\n\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 if process:\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 process.communicate() \u00a0# wait for process stop\r\n\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 wt = 3\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 for i in range(wt):\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 wt_msg = f\"restart afterwards \\{wt - i} sec\"\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 print(wt_msg)\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 await websocket.send(wt_msg)\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 await asyncio.sleep(1) \u00a0# wait a sec\r\n\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 process = subprocess.Popen(['bedrock_server.exe'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT,\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0text=True,encoding=encoding, creationflags=subprocess.CREATE_NEW_PROCESS_GROUP)\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 await websocket.send(\"restart done\uff01\")\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 print(\"restart done!\")\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0\r\n\r\n\u00a0 \u00a0 except websockets.exceptions.ConnectionClosedOK:\r\n\u00a0 \u00a0 \u00a0 \u00a0 print(\"The websocket client has been closed\")\r\n\u00a0 \u00a0 \u00a0 \u00a0 await websocket.close()\r\n\u00a0 \u00a0 \u00a0 \u00a0 links.remove(websocket)\r\n\r\n\u00a0 \u00a0 finally:\r\n\u00a0 \u00a0 \u00a0 \u00a0 print(\"Closing websocket server\")\r\n\u00a0 \u00a0 \u00a0 \u00a0 await websocket.close()\r\n\u00a0 \u00a0 \u00a0 \u00a0 links.remove(websocket)\r\n\r\n\r\nasync def main():\r\n\u00a0 \u00a0 print(\"subprocess main started\")\r\n\u00a0 \u00a0 print(\"powered by python\")\r\n\r\n\u00a0 \u00a0 start_server_coroutine = websockets.serve(handle_client, \"xxx.xx.xxx.xx\", 8765) # Connect your websocket client here, if you have one, otherwise ignore it\r\n\u00a0 \u00a0\u00a0\r\n\r\n\u00a0 \u00a0 # create task and run it\r\n\u00a0 \u00a0 websocket_task = asyncio.ensure_future(start_server_coroutine)\r\n\u00a0 \u00a0\u00a0\r\n\u00a0 \u00a0 # run functions on other thread\r\n\u00a0 \u00a0 _thread.start_new_thread(run_popen,())\r\n\u00a0 \u00a0 #_thread.start_new_thread(read_live,())\r\n\u00a0 \u00a0 _thread.start_new_thread(run_scripts,()) # test sending\r\n\r\n\u00a0 \u00a0 await asyncio.Future()\r\n\r\n\r\nif __name__ == \"__main__\":\r\n\u00a0 \u00a0 try:\r\n\u00a0 \u00a0 \u00a0 \u00a0 asyncio.run(main())\r\n\u00a0 \u00a0 except Exception as e:\r\n\u00a0 \u00a0 \u00a0 \u00a0 print(e)",
               "updateAuthor": "JIRAUSER769986",
               "created": "2024-01-14T11:38:29.610+0200",
               "updated": "2024-01-14T11:38:29.610+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/549096/comment/1299715",
               "id": "1299715",
               "author": "JIRAUSER769986",
               "body": "*{color:#de350b}If possible, I suggest adding built-in character encoding functionality for commands like 'say' and 'tell', 'tellraw', etc. ;){color}* \r\n\r\n{color:#57d9a3}*For example:*\u00a0 \u00a0 {color}\r\n\r\n{color:#57d9a3}\u00a0 {color}\r\n\r\n_{color:#00875a}/tellraw @a {\"rawtext\":[\\{\"text\":\"\u00e4\u00bd \u00e5\u00a5\u00bd,\"encoding\":['iso-8859-1','utf-8']}]}{color}_\r\n\r\n{color:#00875a}*> \u4f60\u597d*{color}\r\n\r\n\u00a0\r\n\r\n_{color:#00875a}/say \"\u00e4\u00bd \u00e5\u00a5\u00bd\" ['iso-8859-1','utf-8']{color}_\r\n\r\n{color:#00875a}*> [server]\u4f60\u597d*{color}",
               "updateAuthor": "JIRAUSER769986",
               "created": "2024-01-15T05:02:18.548+0200",
               "updated": "2024-01-15T05:32:56.784+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/549096/comment/1302054",
               "id": "1302054",
               "author": "JIRAUSER738282",
               "body": "I guess it only happening on windows, in my java project i have same issue, but on linux it working, its windows(system) issue",
               "updateAuthor": "JIRAUSER738282",
               "created": "2024-01-30T11:24:31.677+0200",
               "updated": "2024-01-30T11:24:31.677+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/549096/comment/1338095",
               "id": "1338095",
               "author": "JIRAUSER555914",
               "body": "*Thank you for your report!*\r\n\r\nHowever, this issue has been temporarily closed as *{color:#ff5722}Awaiting Response{color}*.\r\n\r\nIs this still an issue in the latest version? If yes, could you please add it to the affected versions (or mention it if you are not the reporter)?\r\n\r\nThis ticket will automatically reopen when you reply.\r\n\r\n*Quick Links*:\r\n \ud83d\udcd3 [Issue Guidelines|https://help.minecraft.net/hc/en-us/articles/4408887473421] \u2013 \ud83d\udcac [Mojang Support|https://help.minecraft.net/hc/en-us/requests/new] \u2013 \ud83d\udcd3 [Project Summary|https://bugs.mojang.com/projects/BDS/summary] -- \ud83d\udce7 [Suggestions|https://feedback.minecraft.net/] \u2013 \ud83d\udcd6 [Minecraft Wiki|https://minecraft.wiki]",
               "updateAuthor": "JIRAUSER555914",
               "created": "2024-07-10T19:14:13.423+0300",
               "updated": "2024-07-10T19:14:13.423+0300"
            }
         ],
         "maxResults": 4,
         "total": 4,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-18961/votes",
         "votes": 1,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 13,
      "total": 13,
      "histories": [
         {
            "id": "2923386",
            "author": "arisabot",
            "created": "2024-01-14T06:15:02.632+0200",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "Even though Minecraft Bedrock 1.20 claims to support UTF-8 and the command \"say \u4f60\u597d\" displays chinese correctly when entering it directly into the bedrock_server.exe, I encountered an issue when attempting to run bedrock_server.exe as a subprocess in a Python program. \r\nCommands with {color:#FF0000}UTF-8{color} characters input into this subprocess are automatically decoded into {color:#FF0000}ISO-8859-1{color} characters. As a result, the original Chinese characters on the server and cilent appear as \u00e4\u00bd \u00e5\u00a5\u00bd\r\n\r\n!image-2024-01-14-11-31-50-317.png!\r\n\r\nThis screenshot shows the official bedrock_server.exe running independently.\r\n\r\n\u00a0\r\n\r\nbut in python\r\n\r\n!image-2024-01-14-11-33-39-088.png!\r\n\r\n!image-2024-01-14-11-59-39-420.png!\r\n\r\nI wrote it into a Python subprocess to facilitate remote command sending and receiving live comments. Originally, I intended for comments on my channel to be displayed as dialogues in Minecraft. However, I discovered that Chinese characters were being compiled into Latin letters.\r\n\r\n!image-2024-01-14-11-38-06-542.png!\r\n\r\n!image-2024-01-14-11-37-51-737.png!\r\n\r\nEven though I have enabled UTF-8 encoding for the pipeline, it still doesn't work. This issue doesn't exist when interacting with other programs. I suspect that the subprocess form may cause some internal code in the server program to handle UTF-8 characters in the same way as in previous versions, converting them into ISO-8859-1.\r\n\r\n\u00a0\r\n\r\nI have another piece of code here that can be used to illustrate what happened.\r\n\r\n!image-2024-01-14-12-06-00-898.png!\r\n\r\n!image-2024-01-14-12-06-28-403.png!\r\n\r\n\u00a0\r\n\r\nIf a solution can be identified, I would be extremely grateful. If the issue lies within the server program itself, I sincerely hope it can be resolved.\u00a0 \u00a0Thank you\uff01",
                  "to": null,
                  "toString": "Even though Minecraft Bedrock 1.20 claims to support UTF-8 and the command \"say \u4f60\u597d\" displays chinese correctly when entering it directly into the bedrock_server.exe, I encountered an issue when attempting to run bedrock_server.exe as a subprocess in a Python program. \r\nCommands with {color:#FF0000}UTF-8{color} characters input into this subprocess are automatically decoded into {color:#FF0000}ISO-8859-1{color} characters. As a result, the original Chinese characters on the server and cilent appear as \u00e4\u00bd \u00e5\u00a5\u00bd\r\n\r\n!image-2024-01-14-11-31-50-317.png|thumbnail!\r\n\r\nThis screenshot shows the official bedrock_server.exe running independently.\r\n\r\n\u00a0\r\n\r\nbut in python\r\n\r\n!image-2024-01-14-11-33-39-088.png|thumbnail!\r\n\r\n!image-2024-01-14-11-59-39-420.png|thumbnail!\r\n\r\nI wrote it into a Python subprocess to facilitate remote command sending and receiving live comments. Originally, I intended for comments on my channel to be displayed as dialogues in Minecraft. However, I discovered that Chinese characters were being compiled into Latin letters.\r\n\r\n!image-2024-01-14-11-38-06-542.png!\r\n\r\n!image-2024-01-14-11-37-51-737.png|thumbnail!\r\n\r\nEven though I have enabled UTF-8 encoding for the pipeline, it still doesn't work. This issue doesn't exist when interacting with other programs. I suspect that the subprocess form may cause some internal code in the server program to handle UTF-8 characters in the same way as in previous versions, converting them into ISO-8859-1.\r\n\r\n\u00a0\r\n\r\nI have another piece of code here that can be used to illustrate what happened.\r\n\r\n!image-2024-01-14-12-06-00-898.png|thumbnail!\r\n\r\n!image-2024-01-14-12-06-28-403.png!\r\n\r\n\u00a0\r\n\r\nIf a solution can be identified, I would be extremely grateful. If the issue lies within the server program itself, I sincerely hope it can be resolved.\u00a0 \u00a0Thank you\uff01"
               }
            ]
         },
         {
            "id": "2923406",
            "author": "JIRAUSER769986",
            "created": "2024-01-14T11:05:00.046+0200",
            "items": [
               {
                  "field": "Attachment",
                  "fieldtype": "jira",
                  "from": "559275",
                  "fromString": "image-2024-01-14-12-00-17-739.png",
                  "to": null,
                  "toString": null
               }
            ]
         },
         {
            "id": "2923407",
            "author": "JIRAUSER769986",
            "created": "2024-01-14T11:44:01.691+0200",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "Even though Minecraft Bedrock 1.20 claims to support UTF-8 and the command \"say \u4f60\u597d\" displays chinese correctly when entering it directly into the bedrock_server.exe, I encountered an issue when attempting to run bedrock_server.exe as a subprocess in a Python program. \r\nCommands with {color:#FF0000}UTF-8{color} characters input into this subprocess are automatically decoded into {color:#FF0000}ISO-8859-1{color} characters. As a result, the original Chinese characters on the server and cilent appear as \u00e4\u00bd \u00e5\u00a5\u00bd\r\n\r\n!image-2024-01-14-11-31-50-317.png|thumbnail!\r\n\r\nThis screenshot shows the official bedrock_server.exe running independently.\r\n\r\n\u00a0\r\n\r\nbut in python\r\n\r\n!image-2024-01-14-11-33-39-088.png|thumbnail!\r\n\r\n!image-2024-01-14-11-59-39-420.png|thumbnail!\r\n\r\nI wrote it into a Python subprocess to facilitate remote command sending and receiving live comments. Originally, I intended for comments on my channel to be displayed as dialogues in Minecraft. However, I discovered that Chinese characters were being compiled into Latin letters.\r\n\r\n!image-2024-01-14-11-38-06-542.png!\r\n\r\n!image-2024-01-14-11-37-51-737.png|thumbnail!\r\n\r\nEven though I have enabled UTF-8 encoding for the pipeline, it still doesn't work. This issue doesn't exist when interacting with other programs. I suspect that the subprocess form may cause some internal code in the server program to handle UTF-8 characters in the same way as in previous versions, converting them into ISO-8859-1.\r\n\r\n\u00a0\r\n\r\nI have another piece of code here that can be used to illustrate what happened.\r\n\r\n!image-2024-01-14-12-06-00-898.png|thumbnail!\r\n\r\n!image-2024-01-14-12-06-28-403.png!\r\n\r\n\u00a0\r\n\r\nIf a solution can be identified, I would be extremely grateful. If the issue lies within the server program itself, I sincerely hope it can be resolved.\u00a0 \u00a0Thank you\uff01",
                  "to": null,
                  "toString": "Even though Minecraft Bedrock 1.20 claims to support UTF-8 and the command \"say \u4f60\u597d\" displays chinese correctly when entering it directly into the bedrock_server.exe, I encountered an issue when attempting to run bedrock_server.exe as a subprocess in a Python program. \r\nCommands with {color:#ff0000}UTF-8{color} characters input into this subprocess are automatically decoded into {color:#ff0000}ISO-8859-1{color} characters. As a result, the original Chinese characters \"\u4f60\u597d\" on the server and cilent appear as \"\u00e4\u00bd \u00e5\u00a5\u00bd\"\r\n\r\n!image-2024-01-14-11-31-50-317.png|thumbnail!\r\n\r\nThis screenshot shows the official bedrock_server.exe running independently.\r\n\r\n\u00a0\r\n\r\nbut in python\r\n\r\n!image-2024-01-14-11-33-39-088.png|thumbnail!\r\n\r\n!image-2024-01-14-11-59-39-420.png|thumbnail!\r\n\r\nI wrote it into a Python subprocess to facilitate remote command sending and receiving live comments. Originally, I intended for comments on my channel to be displayed as dialogues in Minecraft. However, I discovered that Chinese characters were being compiled into Latin letters.\r\n\r\n!image-2024-01-14-11-38-06-542.png!\r\n\r\n!image-2024-01-14-11-37-51-737.png|thumbnail!\r\n\r\nEven though I have enabled UTF-8 encoding for the pipeline, it still doesn't work. This issue doesn't exist when interacting with other programs. I suspect that the subprocess form may cause some internal code in the server program to handle UTF-8 characters in the same way as in previous versions, converting them into ISO-8859-1.\r\n\r\n\u00a0\r\n\r\nI have another piece of code here that can be used to illustrate what happened.\r\n\r\n!image-2024-01-14-12-06-00-898.png|thumbnail!\r\n\r\n!image-2024-01-14-12-06-28-403.png!\r\n\r\n\u00a0\r\n\r\nIf a solution can be identified, I would be extremely grateful. If the issue lies within the server program itself, I sincerely hope it can be resolved.\u00a0 \u00a0Thank you\uff01"
               }
            ]
         },
         {
            "id": "2923408",
            "author": "JIRAUSER769986",
            "created": "2024-01-14T11:45:57.674+0200",
            "items": [
               {
                  "field": "Attachment",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "559286",
                  "toString": "image-2024-01-14-17-45-56-736.png"
               }
            ]
         },
         {
            "id": "2923409",
            "author": "JIRAUSER769986",
            "created": "2024-01-14T11:46:03.943+0200",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "Even though Minecraft Bedrock 1.20 claims to support UTF-8 and the command \"say \u4f60\u597d\" displays chinese correctly when entering it directly into the bedrock_server.exe, I encountered an issue when attempting to run bedrock_server.exe as a subprocess in a Python program. \r\nCommands with {color:#ff0000}UTF-8{color} characters input into this subprocess are automatically decoded into {color:#ff0000}ISO-8859-1{color} characters. As a result, the original Chinese characters \"\u4f60\u597d\" on the server and cilent appear as \"\u00e4\u00bd \u00e5\u00a5\u00bd\"\r\n\r\n!image-2024-01-14-11-31-50-317.png|thumbnail!\r\n\r\nThis screenshot shows the official bedrock_server.exe running independently.\r\n\r\n\u00a0\r\n\r\nbut in python\r\n\r\n!image-2024-01-14-11-33-39-088.png|thumbnail!\r\n\r\n!image-2024-01-14-11-59-39-420.png|thumbnail!\r\n\r\nI wrote it into a Python subprocess to facilitate remote command sending and receiving live comments. Originally, I intended for comments on my channel to be displayed as dialogues in Minecraft. However, I discovered that Chinese characters were being compiled into Latin letters.\r\n\r\n!image-2024-01-14-11-38-06-542.png!\r\n\r\n!image-2024-01-14-11-37-51-737.png|thumbnail!\r\n\r\nEven though I have enabled UTF-8 encoding for the pipeline, it still doesn't work. This issue doesn't exist when interacting with other programs. I suspect that the subprocess form may cause some internal code in the server program to handle UTF-8 characters in the same way as in previous versions, converting them into ISO-8859-1.\r\n\r\n\u00a0\r\n\r\nI have another piece of code here that can be used to illustrate what happened.\r\n\r\n!image-2024-01-14-12-06-00-898.png|thumbnail!\r\n\r\n!image-2024-01-14-12-06-28-403.png!\r\n\r\n\u00a0\r\n\r\nIf a solution can be identified, I would be extremely grateful. If the issue lies within the server program itself, I sincerely hope it can be resolved.\u00a0 \u00a0Thank you\uff01",
                  "to": null,
                  "toString": "Even though Minecraft Bedrock 1.20 claims to support UTF-8 and the command \"say \u4f60\u597d\" displays chinese correctly when entering it directly into the bedrock_server.exe, I encountered an issue when attempting to run bedrock_server.exe as a subprocess in a Python program. \r\nCommands with {color:#ff0000}UTF-8{color} characters input into this subprocess are automatically decoded into {color:#ff0000}ISO-8859-1{color} characters. As a result, the original Chinese characters \"\u4f60\u597d\" on the server and cilent appear as \"\u00e4\u00bd \u00e5\u00a5\u00bd\"\r\n\r\n!image-2024-01-14-11-31-50-317.png|thumbnail!\r\n\r\nThis screenshot shows the official bedrock_server.exe running independently.\r\n\r\n\u00a0\r\n\r\nbut in python\r\n\r\n!image-2024-01-14-11-33-39-088.png|thumbnail!\r\n\r\n!image-2024-01-14-17-45-56-736.png!\r\n\r\nI wrote it into a Python subprocess to facilitate remote command sending and receiving live comments. Originally, I intended for comments on my channel to be displayed as dialogues in Minecraft. However, I discovered that Chinese characters were being compiled into Latin letters.\r\n\r\n!image-2024-01-14-11-38-06-542.png!\r\n\r\n!image-2024-01-14-11-37-51-737.png|thumbnail!\r\n\r\nEven though I have enabled UTF-8 encoding for the pipeline, it still doesn't work. This issue doesn't exist when interacting with other programs. I suspect that the subprocess form may cause some internal code in the server program to handle UTF-8 characters in the same way as in previous versions, converting them into ISO-8859-1.\r\n\r\n\u00a0\r\n\r\nI have another piece of code here that can be used to illustrate what happened.\r\n\r\n!image-2024-01-14-12-06-00-898.png|thumbnail!\r\n\r\n!image-2024-01-14-12-06-28-403.png!\r\n\r\n\u00a0\r\n\r\nIf a solution can be identified, I would be extremely grateful. If the issue lies within the server program itself, I sincerely hope it can be resolved.\u00a0 \u00a0Thank you\uff01"
               }
            ]
         },
         {
            "id": "2923410",
            "author": "JIRAUSER769986",
            "created": "2024-01-14T11:46:18.547+0200",
            "items": [
               {
                  "field": "Attachment",
                  "fieldtype": "jira",
                  "from": "559276",
                  "fromString": "image-2024-01-14-11-59-39-420.png",
                  "to": null,
                  "toString": null
               }
            ]
         },
         {
            "id": "2923411",
            "author": "JIRAUSER769986",
            "created": "2024-01-14T11:48:35.564+0200",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "Even though Minecraft Bedrock 1.20 claims to support UTF-8 and the command \"say \u4f60\u597d\" displays chinese correctly when entering it directly into the bedrock_server.exe, I encountered an issue when attempting to run bedrock_server.exe as a subprocess in a Python program. \r\nCommands with {color:#ff0000}UTF-8{color} characters input into this subprocess are automatically decoded into {color:#ff0000}ISO-8859-1{color} characters. As a result, the original Chinese characters \"\u4f60\u597d\" on the server and cilent appear as \"\u00e4\u00bd \u00e5\u00a5\u00bd\"\r\n\r\n!image-2024-01-14-11-31-50-317.png|thumbnail!\r\n\r\nThis screenshot shows the official bedrock_server.exe running independently.\r\n\r\n\u00a0\r\n\r\nbut in python\r\n\r\n!image-2024-01-14-11-33-39-088.png|thumbnail!\r\n\r\n!image-2024-01-14-17-45-56-736.png!\r\n\r\nI wrote it into a Python subprocess to facilitate remote command sending and receiving live comments. Originally, I intended for comments on my channel to be displayed as dialogues in Minecraft. However, I discovered that Chinese characters were being compiled into Latin letters.\r\n\r\n!image-2024-01-14-11-38-06-542.png!\r\n\r\n!image-2024-01-14-11-37-51-737.png|thumbnail!\r\n\r\nEven though I have enabled UTF-8 encoding for the pipeline, it still doesn't work. This issue doesn't exist when interacting with other programs. I suspect that the subprocess form may cause some internal code in the server program to handle UTF-8 characters in the same way as in previous versions, converting them into ISO-8859-1.\r\n\r\n\u00a0\r\n\r\nI have another piece of code here that can be used to illustrate what happened.\r\n\r\n!image-2024-01-14-12-06-00-898.png|thumbnail!\r\n\r\n!image-2024-01-14-12-06-28-403.png!\r\n\r\n\u00a0\r\n\r\nIf a solution can be identified, I would be extremely grateful. If the issue lies within the server program itself, I sincerely hope it can be resolved.\u00a0 \u00a0Thank you\uff01",
                  "to": null,
                  "toString": "Even though Minecraft Bedrock 1.20 claims to support UTF-8 and the command \"say \u4f60\u597d\" displays chinese correctly when entering it directly into the bedrock_server.exe, I encountered an issue when attempting to run bedrock_server.exe as a subprocess in a Python program. \r\nCommands with {color:#ff0000}UTF-8{color} characters input into this subprocess are automatically decoded into {color:#ff0000}ISO-8859-1{color} characters. As a result, the original Chinese characters \"\u4f60\u597d\" on the server and cilent appear as \"\u00e4\u00bd \u00e5\u00a5\u00bd\"\r\n\r\n!image-2024-01-14-11-31-50-317.png|thumbnail!\r\n\r\nThis screenshot shows the official bedrock_server.exe running independently.\r\n\r\n\u00a0\r\n\r\nbut in python\r\n\r\n!image-2024-01-14-11-33-39-088.png|thumbnail!\r\n\r\n!image-2024-01-14-17-45-56-736.png|width=277,height=147!\r\n\r\nI wrote it into a Python subprocess to facilitate remote command sending and receiving live comments. Originally, I intended for comments on my channel to be displayed as dialogues in Minecraft. However, I discovered that Chinese characters were being compiled into Latin letters.\r\n\r\n!image-2024-01-14-11-38-06-542.png!\r\n\r\n!image-2024-01-14-11-37-51-737.png|width=200,height=9,thumbnail!\r\n\r\nEven though I have enabled UTF-8 encoding for the pipeline, it still doesn't work. This issue doesn't exist when interacting with other programs. I suspect that the subprocess form may cause some internal code in the server program to handle UTF-8 characters in the same way as in previous versions, converting them into ISO-8859-1.\r\n\r\n\u00a0\r\n\r\nI have another piece of code here that can be used to illustrate what happened.\r\n\r\n!image-2024-01-14-12-06-00-898.png|thumbnail!\r\n\r\n!image-2024-01-14-12-06-28-403.png!\r\n\r\n\u00a0\r\n\r\nIf a solution can be identified, I would be extremely grateful. If the issue lies within the server program itself, I sincerely hope it can be resolved.\u00a0 \u00a0Thank you\uff01"
               }
            ]
         },
         {
            "id": "2923412",
            "author": "JIRAUSER769986",
            "created": "2024-01-14T11:52:54.435+0200",
            "items": [
               {
                  "field": "labels",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "",
                  "to": null,
                  "toString": "command"
               }
            ]
         },
         {
            "id": "2923413",
            "author": "JIRAUSER769986",
            "created": "2024-01-14T11:55:59.329+0200",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "Even though Minecraft Bedrock 1.20 claims to support UTF-8 and the command \"say \u4f60\u597d\" displays chinese correctly when entering it directly into the bedrock_server.exe, I encountered an issue when attempting to run bedrock_server.exe as a subprocess in a Python program. \r\nCommands with {color:#ff0000}UTF-8{color} characters input into this subprocess are automatically decoded into {color:#ff0000}ISO-8859-1{color} characters. As a result, the original Chinese characters \"\u4f60\u597d\" on the server and cilent appear as \"\u00e4\u00bd \u00e5\u00a5\u00bd\"\r\n\r\n!image-2024-01-14-11-31-50-317.png|thumbnail!\r\n\r\nThis screenshot shows the official bedrock_server.exe running independently.\r\n\r\n\u00a0\r\n\r\nbut in python\r\n\r\n!image-2024-01-14-11-33-39-088.png|thumbnail!\r\n\r\n!image-2024-01-14-17-45-56-736.png|width=277,height=147!\r\n\r\nI wrote it into a Python subprocess to facilitate remote command sending and receiving live comments. Originally, I intended for comments on my channel to be displayed as dialogues in Minecraft. However, I discovered that Chinese characters were being compiled into Latin letters.\r\n\r\n!image-2024-01-14-11-38-06-542.png!\r\n\r\n!image-2024-01-14-11-37-51-737.png|width=200,height=9,thumbnail!\r\n\r\nEven though I have enabled UTF-8 encoding for the pipeline, it still doesn't work. This issue doesn't exist when interacting with other programs. I suspect that the subprocess form may cause some internal code in the server program to handle UTF-8 characters in the same way as in previous versions, converting them into ISO-8859-1.\r\n\r\n\u00a0\r\n\r\nI have another piece of code here that can be used to illustrate what happened.\r\n\r\n!image-2024-01-14-12-06-00-898.png|thumbnail!\r\n\r\n!image-2024-01-14-12-06-28-403.png!\r\n\r\n\u00a0\r\n\r\nIf a solution can be identified, I would be extremely grateful. If the issue lies within the server program itself, I sincerely hope it can be resolved.\u00a0 \u00a0Thank you\uff01",
                  "to": null,
                  "toString": "Even though Minecraft Bedrock 1.20 claims to support UTF-8 and the command \"say \u4f60\u597d\" displays chinese correctly when entering it directly into the bedrock_server.exe, I encountered an issue when attempting to run bedrock_server.exe as a subprocess in a Python program. \r\nCommands with {color:#ff0000}UTF-8{color} characters input into this subprocess are automatically decoded into {color:#ff0000}ISO-8859-1{color} characters. As a result, the original Chinese characters \"\u4f60\u597d\" on the server and cilent appear as \"\u00e4\u00bd \u00e5\u00a5\u00bd\"\r\n\r\n!image-2024-01-14-11-31-50-317.png|thumbnail!\r\n\r\nThis screenshot shows the official bedrock_server.exe running independently.\r\n\r\n\u00a0\r\n\r\nbut in python\r\n\r\n!image-2024-01-14-11-33-39-088.png|thumbnail!\r\n\r\n!image-2024-01-14-17-45-56-736.png|width=277,height=147!\r\n\r\nI wrote it into a Python subprocess to facilitate remote command sending and receiving live comments. Originally, I intended for comments on my channel to be displayed as dialogues in Minecraft. However, I discovered that Chinese characters were being compiled into Latin letters.\r\n\r\n!image-2024-01-14-11-38-06-542.png!\r\n\r\n!image-2024-01-14-11-37-51-737.png|width=200,height=9,thumbnail!\r\n\r\nEven though I have enabled UTF-8 encoding for the pipeline, it still doesn't work. This issue doesn't exist when interacting with other programs. I suspect that the subprocess form may cause some internal code in the server program to handle UTF-8 characters in the same way as in previous versions, converting them into ISO-8859-1.\r\n\r\n\u00a0\r\n\r\nI have another piece of code here that can be used to illustrate what happened.\r\n\r\n!image-2024-01-14-12-06-00-898.png|thumbnail!\r\n\r\n!image-2024-01-14-12-06-28-403.png!\r\n\r\nI have attached my code in the comments section\r\n\r\nIf a solution can be identified, I would be extremely grateful. If the issue lies within the server program itself, I sincerely hope it can be resolved.\u00a0 \u00a0Thank you\uff01"
               }
            ]
         },
         {
            "id": "2923623",
            "author": "JIRAUSER769986",
            "created": "2024-01-15T05:47:40.367+0200",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "Even though Minecraft Bedrock 1.20 claims to support UTF-8 and the command \"say \u4f60\u597d\" displays chinese correctly when entering it directly into the bedrock_server.exe, I encountered an issue when attempting to run bedrock_server.exe as a subprocess in a Python program. \r\nCommands with {color:#ff0000}UTF-8{color} characters input into this subprocess are automatically decoded into {color:#ff0000}ISO-8859-1{color} characters. As a result, the original Chinese characters \"\u4f60\u597d\" on the server and cilent appear as \"\u00e4\u00bd \u00e5\u00a5\u00bd\"\r\n\r\n!image-2024-01-14-11-31-50-317.png|thumbnail!\r\n\r\nThis screenshot shows the official bedrock_server.exe running independently.\r\n\r\n\u00a0\r\n\r\nbut in python\r\n\r\n!image-2024-01-14-11-33-39-088.png|thumbnail!\r\n\r\n!image-2024-01-14-17-45-56-736.png|width=277,height=147!\r\n\r\nI wrote it into a Python subprocess to facilitate remote command sending and receiving live comments. Originally, I intended for comments on my channel to be displayed as dialogues in Minecraft. However, I discovered that Chinese characters were being compiled into Latin letters.\r\n\r\n!image-2024-01-14-11-38-06-542.png!\r\n\r\n!image-2024-01-14-11-37-51-737.png|width=200,height=9,thumbnail!\r\n\r\nEven though I have enabled UTF-8 encoding for the pipeline, it still doesn't work. This issue doesn't exist when interacting with other programs. I suspect that the subprocess form may cause some internal code in the server program to handle UTF-8 characters in the same way as in previous versions, converting them into ISO-8859-1.\r\n\r\n\u00a0\r\n\r\nI have another piece of code here that can be used to illustrate what happened.\r\n\r\n!image-2024-01-14-12-06-00-898.png|thumbnail!\r\n\r\n!image-2024-01-14-12-06-28-403.png!\r\n\r\nI have attached my code in the comments section\r\n\r\nIf a solution can be identified, I would be extremely grateful. If the issue lies within the server program itself, I sincerely hope it can be resolved.\u00a0 \u00a0Thank you\uff01",
                  "to": null,
                  "toString": "Even though Minecraft Bedrock 1.20 claims to support UTF-8 and the command \"say \u4f60\u597d\" displays chinese correctly when entering it directly into the bedrock_server.exe, I encountered an issue when attempting to run bedrock_server.exe as a subprocess in a Python program. \r\nCommands with {color:#ff0000}UTF-8{color} characters input into this subprocess are automatically decoded into {color:#ff0000}ISO-8859-1{color} characters. As a result, the original Chinese characters \"\u4f60\u597d\" on the server and cilent appear as \"\u00e4\u00bd \u00e5\u00a5\u00bd\"\r\n\r\n!image-2024-01-14-11-31-50-317.png|thumbnail!\r\n\r\nThis screenshot shows the official bedrock_server.exe running independently.\r\n\r\n\u00a0\r\n\r\nbut in python\r\n\r\n!image-2024-01-14-11-33-39-088.png|thumbnail!\r\n\r\n!image-2024-01-14-17-45-56-736.png|width=277,height=147!\r\n\r\nI wrote it into a Python subprocess to facilitate remote command sending and receiving comments. Originally, I intended for comments on my live channel to be displayed as dialogues in Minecraft. However, I discovered that Chinese characters were being compiled into Latin letters.\r\n\r\n!image-2024-01-14-11-38-06-542.png!\r\n\r\n!image-2024-01-14-11-37-51-737.png|width=200,height=9,thumbnail!\r\n\r\nEven though I have enabled UTF-8 encoding for the pipeline, it still doesn't work. This issue doesn't exist when interacting with other programs. I suspect that the subprocess form may cause some internal code in the server program to handle UTF-8 characters in the same way as in previous versions, converting them into ISO-8859-1.\r\n\r\n\u00a0\r\n\r\nI have another piece of code here that can be used to illustrate what happened.\r\n\r\n!image-2024-01-14-12-06-00-898.png|thumbnail!\r\n\r\n!image-2024-01-14-12-06-28-403.png!\r\n\r\nI have attached my code in the comments section\r\n\r\nIf a solution can be identified, I would be extremely grateful. If the issue lies within the server program itself, I sincerely hope it can be resolved.\u00a0 \u00a0Thank you\uff01"
               }
            ]
         },
         {
            "id": "2923624",
            "author": "JIRAUSER769986",
            "created": "2024-01-15T05:48:32.203+0200",
            "items": [
               {
                  "field": "description",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "Even though Minecraft Bedrock 1.20 claims to support UTF-8 and the command \"say \u4f60\u597d\" displays chinese correctly when entering it directly into the bedrock_server.exe, I encountered an issue when attempting to run bedrock_server.exe as a subprocess in a Python program. \r\nCommands with {color:#ff0000}UTF-8{color} characters input into this subprocess are automatically decoded into {color:#ff0000}ISO-8859-1{color} characters. As a result, the original Chinese characters \"\u4f60\u597d\" on the server and cilent appear as \"\u00e4\u00bd \u00e5\u00a5\u00bd\"\r\n\r\n!image-2024-01-14-11-31-50-317.png|thumbnail!\r\n\r\nThis screenshot shows the official bedrock_server.exe running independently.\r\n\r\n\u00a0\r\n\r\nbut in python\r\n\r\n!image-2024-01-14-11-33-39-088.png|thumbnail!\r\n\r\n!image-2024-01-14-17-45-56-736.png|width=277,height=147!\r\n\r\nI wrote it into a Python subprocess to facilitate remote command sending and receiving comments. Originally, I intended for comments on my live channel to be displayed as dialogues in Minecraft. However, I discovered that Chinese characters were being compiled into Latin letters.\r\n\r\n!image-2024-01-14-11-38-06-542.png!\r\n\r\n!image-2024-01-14-11-37-51-737.png|width=200,height=9,thumbnail!\r\n\r\nEven though I have enabled UTF-8 encoding for the pipeline, it still doesn't work. This issue doesn't exist when interacting with other programs. I suspect that the subprocess form may cause some internal code in the server program to handle UTF-8 characters in the same way as in previous versions, converting them into ISO-8859-1.\r\n\r\n\u00a0\r\n\r\nI have another piece of code here that can be used to illustrate what happened.\r\n\r\n!image-2024-01-14-12-06-00-898.png|thumbnail!\r\n\r\n!image-2024-01-14-12-06-28-403.png!\r\n\r\nI have attached my code in the comments section\r\n\r\nIf a solution can be identified, I would be extremely grateful. If the issue lies within the server program itself, I sincerely hope it can be resolved.\u00a0 \u00a0Thank you\uff01",
                  "to": null,
                  "toString": "Even though Minecraft Bedrock 1.20 claims to support UTF-8 and the command \"say \u4f60\u597d\" displays chinese correctly when entering it directly into the bedrock_server.exe, I encountered an issue when attempting to run bedrock_server.exe as a subprocess in a Python program. \r\nCommands with {color:#ff0000}UTF-8{color} characters input into this subprocess are automatically decoded into {color:#ff0000}ISO-8859-1{color} characters. As a result, the original Chinese characters \"\u4f60\u597d\" on the server and cilent appear as \"\u00e4\u00bd \u00e5\u00a5\u00bd\"\r\n\r\n!image-2024-01-14-11-31-50-317.png|thumbnail!\r\n\r\nThis screenshot shows the official bedrock_server.exe running independently.\r\n\r\n\u00a0\r\n\r\nbut in python\r\n\r\n!image-2024-01-14-11-33-39-088.png|thumbnail!\r\n\r\n!image-2024-01-14-17-45-56-736.png|width=277,height=147!\r\n\r\nI wrote it into a Python subprocess to facilitate remote command sending and receiving comments. Originally, I intended for comments on my live channel to be displayed as dialogues in Minecraft. However, I discovered that Chinese characters were being compiled into Latin letters.\r\n\r\n!image-2024-01-14-11-38-06-542.png!\r\n\r\n!image-2024-01-14-11-37-51-737.png|width=755,height=34,thumbnail!\r\n\r\nEven though I have enabled UTF-8 encoding for the pipeline, it still doesn't work. This issue doesn't exist when interacting with other programs. I suspect that the subprocess form may cause some internal code in the server program to handle UTF-8 characters in the same way as in previous versions, converting them into ISO-8859-1.\r\n\r\n\u00a0\r\n\r\nI have another piece of code here that can be used to illustrate what happened.\r\n\r\n!image-2024-01-14-12-06-00-898.png|thumbnail!\r\n\r\n!image-2024-01-14-12-06-28-403.png!\r\n\r\nI have attached my code in the comments section\r\n\r\nIf a solution can be identified, I would be extremely grateful. If the issue lies within the server program itself, I sincerely hope it can be resolved.\u00a0 \u00a0Thank you\uff01"
               }
            ]
         },
         {
            "id": "2924883",
            "author": "JIRAUSER769986",
            "created": "2024-01-18T08:47:23.347+0200",
            "items": [
               {
                  "field": "summary",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "Unknown encoding error",
                  "to": null,
                  "toString": "Bedrock Dedicated Server Unknown encoding error"
               }
            ]
         },
         {
            "id": "3033654",
            "author": "JIRAUSER555914",
            "created": "2024-07-10T19:14:13.428+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "10001",
                  "toString": "Awaiting Response"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         }
      ]
   }
}