Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It doesn't recognize Spanish characters such as á, ñ, etc. #18274

Closed
FANMixco opened this issue Jan 8, 2017 · 5 comments
Closed

It doesn't recognize Spanish characters such as á, ñ, etc. #18274

FANMixco opened this issue Jan 8, 2017 · 5 comments
Assignees
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@FANMixco
Copy link

FANMixco commented Jan 8, 2017

103.txt

  • VSCode Version: 1.8.1
    capture

  • OS Version: Windows 10 1607 (10.0.14393.576)

Steps to Reproduce:

  1. Open the attached file.
@ghost
Copy link

ghost commented Jan 8, 2017

You can change a text-encoding.

"files.encoding": "utf8" -> it's default

Click on File -> Preferences -> User Setting -> Files -> files.encoding

@FANMixco
Copy link
Author

FANMixco commented Jan 8, 2017

Thanks! It's a good point. However I don't program in Spanish very often, this is an exception because I was updating a project and I discovered that in Notepad, Wordpad, etc. The file is opened successfully without any additional configuration and not here.

@bpasero
Copy link
Member

bpasero commented Jan 9, 2017

Yes, you have to set the encoding of the file, either just for the file or in settings. We default to UTF-8 and I guess that file is using a different encoding.

@bpasero bpasero closed this as completed Jan 9, 2017
@bpasero bpasero added the *question Issue represents a question, should be posted to StackOverflow (VS Code) label Jan 9, 2017
@FANMixco
Copy link
Author

FANMixco commented Jan 10, 2017

Hi @bpasero , I understand your point. However in Visual Studio, Notepad, Notepad++, Wordpad, etc. I don't need to do any special configuration to open one specific file, as I explain before, I tend to program more in English than in other language, but I noticed this challenge when I tried to open this XML with Latin Characters.

@bpasero
Copy link
Member

bpasero commented Jan 10, 2017

Related: #5388

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants