Burgershot
[Server] Why the accents are not working? - Printable Version

+- Burgershot (https://www.burgershot.gg)
+-- Forum: SA-MP (https://www.burgershot.gg/forumdisplay.php?fid=3)
+--- Forum: Support (https://www.burgershot.gg/forumdisplay.php?fid=12)
+--- Thread: [Server] Why the accents are not working? (/showthread.php?tid=2288)



Why the accents are not working? - hiwyn - 2022-04-23

Why the accents are not working?

I mean, if i do:
SendClientMessage(i, COLOR_LIGHTRED, "O servidor será

Ingame it looks like:
[Image: Screenshot-from-2022-04-23-10-49-10.png]

And all other accents like é, ã, ç looks like this /\

---


I'm compiling it on linux with this: https://github.com/pawn-lang/compiler/releases
And with this .vscode/tasks.json:

Code:
{
  // See https://go.microsoft.com/fwlink/?LinkId=733558
  // for the documentation about the tasks.json format
  "version": "2.0.0",
  "tasks": [
    {
      "label": "build",
      "type": "shell",
      "command": "/usr/bin/pawncc",
      "args": [
        "${file}",
        "\"-;+\"",
        "\"-(+\"",
        "-i\"/home/hiwyn/Documents/sampserver/include/\""
      ],
      "group": {
        "kind": "build",
        "isDefault": true
      },
      "isBackground": false,
      "presentation": {
        "reveal": "silent",
        "clear": false,
        "panel": "dedicated"
      },
      "problemMatcher": [
        {
          "base": "$pawncc",
          "fileLocation": "relative"
        }
      ]
    }
  ]
}

What else should i do?


RE: Why the accents are not working? - hiwyn - 2022-04-25

for those who have the same problem, i've fix:

vscode: Ctrl, -> pesquisar por encoding -> trocar para Western (Windows 1252)
or down there in the lower right corner you have the option to change it too