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

feature request: auto-detect text encoding #371

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 2 comments
Open

feature request: auto-detect text encoding #371

GoogleCodeExporter opened this issue Mar 14, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

When collaborating, we receive files from other people.  They may use other
encodings than utf-8.  I have to deal with files in utf-8 and latin-1
encodings everyday.

It is doable to an editor to auto-detect text encoding when opening files,
like Emacs do.  Encoding cookies are not new user friendly, so they are
against the principles of TeXworks.  So the TeXworks should be able to
auto-detect it.

What version of the product are you using? On what operating system?

Release 649, ubuntu linux.
Release 514, windows 7.

Please provide any additional information below.

I have found the following article on how to do the detection from mozilla
code.  I don't know it the licensing works.

"How to build standalone universal charset detector from Mozilla source"
http://www.mozilla.org/projects/intl/detectorsrc.html

Original issue reported on code.google.com by [email protected] on 26 May 2010 at 5:58

@GoogleCodeExporter
Copy link
Author

Worth to take a look in the ICU library
http://site.icu-project.org/

"Character Set Detection"
http://userguide.icu-project.org/conversion/detection

Original comment by [email protected] on 26 May 2010 at 6:45

@GoogleCodeExporter
Copy link
Author

Original comment by st.loeffler on 15 Jun 2010 at 6:00

  • Added labels: Type-Enhancement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants