formulahendry / formulahendry/vscode-code-runner

Problem encoding special chars on C language

Open
#962 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

How to change encoding on C files?
I'm trying to configure code runner to run files in c.
It works, but it has problems displaying special characters.
I wanted to know how do I configure the encoding in executorMap.

I know for python it's `"python": "cd $dir && set PYTHONIOENCODING=iso8859-1 && python $fileName",`
And for java it's `"java": "cd $dir && javac -encoding utf8 $fileName && java $fileNameWithoutExt",`

![image](https://user-images.githubusercontent.com/79871889/180364457-7e84e0e2-bbab-4a1e-8498-cffe3bb8660f.png)
![image](https://user-images.githubusercontent.com/79871889/180364563-56fe661f-dfca-43df-9a80-4ffa1e6768e5.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.