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

default encoding #844

Closed
godwish opened this issue Dec 1, 2015 · 5 comments
Closed

default encoding #844

godwish opened this issue Dec 1, 2015 · 5 comments
Assignees

Comments

@godwish
Copy link

godwish commented Dec 1, 2015

i love vs code

i want fix default encoding.

  1. open txt
  2. default encoding is utf-8
  3. i will reopen with encoding. why? open txt is different encoding (save euc-kr, but open utf-8)

but notepad show well.

i know utf-8 have signature at front from file

have no signature -> open system default encoding.

please fix this issue.

i wan't more good program.

@bpasero
Copy link
Member

bpasero commented Dec 1, 2015

You can change the default encoding in settings.

@bpasero bpasero closed this as completed Dec 1, 2015
@godwish
Copy link
Author

godwish commented Dec 1, 2015

ok i see. i test your story.

set encoding euckr

ok first solved

but i have new problem

save utf-8 -> load file -> txt is crash

why? vs code load default encoding.

utf-8 , euckr 2 file load only default encoding. (now euckr)

i think this is problem.

vs code must support identify file encoding.

will be more useful tool.

@bpasero
Copy link
Member

bpasero commented Dec 1, 2015

we do support detecting the encoding when you use a BOM for UTF-8, 16 LE and 16 BE.

@godwish
Copy link
Author

godwish commented Dec 1, 2015

Thank you for letting me reply.

i afraid..my answer make you tired.

run save file and open file. ( set default encoding - euckr )

  1. utf-16 le - is ok
  2. utf-16 be - is ok
  3. utf-8 crash

loaded utf-8 txt read encoding = euc-kr

all txt saved vs code .

Not a lie.

It was not found. save with encoding option utf-8 bom.

only utf-8

@bpasero
Copy link
Member

bpasero commented Dec 1, 2015

Thats true, we don't offer a way to save UTF-8 with BOM, but see #751

@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
None yet
Projects
None yet
Development

No branches or pull requests

2 participants