• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Server] Why the accents are not working?
#1
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?
  Reply
#2
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
  Reply


Forum Jump: