nushell/crates
Darren Schroeder 731aa6bbdd
use encoding on open for #1939 (#1949)
* WIP - not compiling

* compiling but panicing

* still broken

* nearly working

* reverted deserializer_string changes
updated enter.rs and open.rs to use Option<Tagged<String>>
Accepted Clippy suggestions
Accepted fmt suggestions
Left original code from open.rs
 We may want to use some of it and only fallback to encoding.

* Don't exit when there is an unknown encoding.

* When encoding is unknown default to utf-8.

* only do encoding if the user says to it

* merged some conflicts on open

* made error messages consistent

* Updated unwrap with expect

* updated open test to pass with more descriptive err
updated enter test to not fail

* change _location to location

* changed _visitor to visitor

* Added a more verbose usage statement for encoding
Linked to docs.rs/encoding_rs for details

Co-authored-by: Darren Schroeder <fdncred@hotmail.com>
2020-06-11 19:37:43 -05:00
..
nu_plugin_binaryview Bump to 0.15.0 (#1955) 2020-06-10 05:33:59 +12:00
nu_plugin_fetch Bump to 0.15.0 (#1955) 2020-06-10 05:33:59 +12:00
nu_plugin_inc Bump to 0.15.0 (#1955) 2020-06-10 05:33:59 +12:00
nu_plugin_match Bump to 0.15.0 (#1955) 2020-06-10 05:33:59 +12:00
nu_plugin_post Bump to 0.15.0 (#1955) 2020-06-10 05:33:59 +12:00
nu_plugin_ps Bump to 0.15.0 (#1955) 2020-06-10 05:33:59 +12:00
nu_plugin_start Bump start plugin to 0.15.0 (#1956) 2020-06-10 08:39:15 +12:00
nu_plugin_sys Bump to 0.15.0 (#1955) 2020-06-10 05:33:59 +12:00
nu_plugin_textview Bump to 0.15.0 (#1955) 2020-06-10 05:33:59 +12:00
nu_plugin_tree Bump to 0.15.0 (#1955) 2020-06-10 05:33:59 +12:00
nu-build Bump to 0.15.0 (#1955) 2020-06-10 05:33:59 +12:00
nu-cli use encoding on open for #1939 (#1949) 2020-06-11 19:37:43 -05:00
nu-errors Bump to 0.15.0 (#1955) 2020-06-10 05:33:59 +12:00
nu-parser Proper precedence history in math (#1966) 2020-06-12 05:17:08 +12:00
nu-plugin Bump to 0.15.0 (#1955) 2020-06-10 05:33:59 +12:00
nu-protocol Bump to 0.15.0 (#1955) 2020-06-10 05:33:59 +12:00
nu-source Bump to 0.15.0 (#1955) 2020-06-10 05:33:59 +12:00
nu-test-support Bump to 0.15.0 (#1955) 2020-06-10 05:33:59 +12:00
nu-value-ext Bump to 0.15.0 (#1955) 2020-06-10 05:33:59 +12:00