Coder Social home page Coder Social logo

gabriel-p / removenonasciichars Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 2.0 15 KB

Replace and/or remove non-ASCII characters

Home Page: https://packagecontrol.io/packages/RemoveNonAsciiChars

License: GNU General Public License v3.0

Python 100.00%
sublime-package

removenonasciichars's Introduction

RemoveNonAsciiChars

Simple plugin to replace non-ASCII characters to ASCII by removing accents, and remaining non-ASCII characters.

Turns:

á à â ä ñ

into

a a a a n

and removes characters like:

¡ ¿ ß

Installation

Installation via Sublime Package Control.

  1. Install Sublime Package Control
  2. From inside Sublime Text, open Package Control's Command Pallet: CTRL+SHIFT+P (Windows, Linux) or CMD+SHIFT+P (Mac).
  3. Type install package and hit Return. A list of available packages will be displayed.
  4. Type RemoveNonAsciiChars and hit Return.

Using

  1. Bring out the command palette with CTRL+SHIFT+P (Windows, Linux) or CMD+SHIFT+P on Mac.
  2. Type Remove Non Ascii Chars until you see the commands.
  3. Select Remove non Ascii characters (File) for removing in the entire file, or Remove non Ascii characters (Select) for removing only in the selected text.

Author

Original idea and code by Keith Hall.

License

GPL-v3.0.

removenonasciichars's People

Contributors

gabriel-p avatar

Stargazers

 avatar  avatar  avatar Natan Lopes avatar Milan Regec avatar ildar r. khasanshin avatar

Watchers

James Cloos avatar Milan Regec avatar  avatar

removenonasciichars's Issues

Suggest additional replacements

Can replace double quotes like “ and ” with "?
These are frequently there in text copied from web pages

Currently the characters are removed

Remove non ascii chars only in selection

Hi, it would be great if this package could remove non-ASCII characters only in selection(s). Often times I need to remove only in for example one sentence or in one line, the whole file is not very useful for me.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.