Home Download Buy Blog Forum Support

EncodingHelper ( Encoding on status bar, Convert to UTF8 )

Re: EncodingHelper ( Encoding on status bar, Convert to UTF8 )

Postby tito on Sat Aug 04, 2012 5:28 pm

1) yes and no.


To convert a document from some encoding to the other, go to "edit" -> "Convert to uft8 from" and select the encoding.

2)

The plugins tries to guess the encoding and on the menu will show "convert to uft8 from guessed$here"
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 855
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: EncodingHelper ( Encoding on status bar, Convert to UTF8 )

Postby tito on Sat Aug 04, 2012 5:42 pm

look at the screenshot!
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 855
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: EncodingHelper ( Encoding on status bar, Convert to UTF8 )

Postby liuyong9061 on Fri Aug 24, 2012 2:28 pm

When start,it shows the error message:
Reloading plugin E:\Sublime Text 2\Data\Packages\EncodingHelper\EncodingHelper.py
Traceback (most recent call last):
File ".\sublime_plugin.py", line 62, in reload_plugin
File ".\EncodingHelper.py", line 362, in <module>
encoding_cache = EncodingCache()
File ".\EncodingHelper.py", line 311, in __init__
self.load()
File ".\EncodingHelper.py", line 334, in load
self.encoding_cache = json.load(fp)
NameError: global name 'json' is not defined
please help
liuyong9061
 
Posts: 1
Joined: Fri Aug 24, 2012 2:24 pm

Re: EncodingHelper ( Encoding on status bar, Convert to UTF8 )

Postby tito on Sat Aug 25, 2012 2:07 pm

That message is not from this plugin.

Try installing this: https://github.com/SublimeText/EncodingHelper
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 855
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: EncodingHelper ( Encoding on status bar, Convert to UTF8 )

Postby polipych on Tue May 14, 2013 9:34 am

Is this plugin work with ST3?
polipych
 
Posts: 1
Joined: Tue May 14, 2013 8:07 am

Re: EncodingHelper ( Encoding on status bar, Convert to UTF8 )

Postby tito on Tue May 14, 2013 1:55 pm

No yet..
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 855
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: EncodingHelper ( Encoding on status bar, Convert to UTF8 )

Postby tito on Fri May 24, 2013 3:17 am

Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 855
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: EncodingHelper ( Encoding on status bar, Convert to UTF8 )

Postby Skumberg on Fri Oct 18, 2013 10:17 am

I can't get the encoding to show up in the status bar. I can see it's set to "true" in the default settings but it doesn't show up. I used the repository url for the ST3 branch (https://github.com/SublimeText/EncodingHelper.git).

Sublime Text version: 3 build 3047
EncodingHelper version: 2013.05.23.22.42.39
Skumberg
 
Posts: 4
Joined: Tue Sep 24, 2013 10:35 am

Re: EncodingHelper ( Encoding on status bar, Convert to UTF8 )

Postby sk4nk on Fri Nov 08, 2013 7:44 pm

I've had problems with this (very valuable!) plugin and the only way I got it to work with ST3 is to make some pretty significant edits to the chardet library, using http://www.diveinto.org/python3/case-study-porting-chardet-to-python-3.html and a handful of edits to EncodingHelper.py.

The only problem I am having now is that it doesn't seem to be activated until I reload the plugin (by re-saving EncodingHelper.py) while Sublime is running. Does anyone have any idea why the plugin isn't active unless it is reloaded?
sk4nk
 
Posts: 1
Joined: Fri Nov 08, 2013 7:33 pm

Re: EncodingHelper ( Encoding on status bar, Convert to UTF8 )

Postby tito on Sat Nov 09, 2013 1:16 pm

The branch st3 is the correct version for ST3.
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 855
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: Google [Bot] and 7 guests