-
Notifications
You must be signed in to change notification settings - Fork 8
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
[File] recognize encoding for remote resource #37
Comments
gist
|
@AcckiyGerman What is the status for this one? |
I had no time to work with this, but I still want to finish it. |
Uploaded a bigger western-macos-roman encoded file: Size ~24kb. Try to recognize with different sniffer libs:
Conclusion:MacOS western roman encoding - not recognizedNo libs that I found are recognising the MacOS encoding properly. I know that this recognise is possible, coz my LibreOffice open this file, recognizing it as macos-roman. iso8859 encoding - OK
Issue is frozen, as we have other priorities now |
Original: datopian/datahub-qa#105
Acceptance criteria
File.load('https://raw.githubusercontent.com/frictionlessdata/test-data/master/files/csv/encodings/iso8859.csv').encoding == 'ISO-8859-1'
File.load('https://raw.githubusercontent.com/frictionlessdata/test-data/master/files/csv/encodings/western-macos-roman.csv').encoding == <macOS-roman-or-so>
Tasks
Analysis
We need to change this method:
analysis update
encoding()
method should:I tried to implement this schema, using
chardet.detectFileSync()
lib but it works only with files - any argument is treated as a file-name.Possible solutions:
chardet.detectFileSync(temp)
The text was updated successfully, but these errors were encountered: