You are not logged in.

#1 2014-06-13 00:02:28

minerals
Member
Registered: 2014-06-12
Posts: 10

Small unicode char converter

Here is a small gui app I made for myself since I frequently need to look up string encodings at work.

screen1
screen2

source page:
https://github.com/tastyminerals/charconv/

I shall be happy if anyone finds it useful.

Last edited by minerals (2014-06-19 15:41:35)

Offline

#2 2014-06-13 09:29:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Small unicode char converter

I'm using vim for this: http://vim.wikia.com/wiki/Showing_the_A … _character

<Δ> 916, Hex 0394, Octal 1624
<δ> 948, Hex 03b4, Octal 1664

Offline

#3 2014-06-13 09:58:07

minerals
Member
Registered: 2014-06-12
Posts: 10

Re: Small unicode char converter

yeah, it's easy when you know your tools.
And how much time did you spend on learning vim? smile

Last edited by minerals (2014-06-13 10:01:12)

Offline

#4 2014-06-13 10:07:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Small unicode char converter

Who said I know vim? ;P
I simply look things up as I go. Now I can press 'ga' and get the info I want.


If I get it right, it's just https://pikacode.com/tasty_minerals/cha … nv_0.1.pyw + the README, right?

python2 charconv_0.1.pyw

seems to run it fine, no need for other dependencies beside python2. Do you plan on uploading it to the AUR?

Offline

#5 2014-06-13 12:11:03

progandy
Member
Registered: 2012-05-17
Posts: 5,279

Re: Small unicode char converter

Nice. Maybe you could remove the convert-button and update the encodings automatically when the text changes. Providing the reverse operation from character code to character might be useful, too.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#6 2014-06-15 22:41:40

minerals
Member
Registered: 2014-06-12
Posts: 10

Re: Small unicode char converter

karol wrote:

Who said I know vim? ;P
I simply look things up as I go. Now I can press 'ga' and get the info I want.


If I get it right, it's just https://pikacode.com/tasty_minerals/cha … nv_0.1.pyw + the README, right?

python2 charconv_0.1.pyw

seems to run it fine, no need for other dependencies beside python2. Do you plan on uploading it to the AUR?

thanks for the info anyway,
I am somewhat reluctant adding it to AUR since there are plenty of other tools with the same functionality.

Last edited by minerals (2014-06-15 22:48:04)

Offline

#7 2014-06-15 22:44:35

minerals
Member
Registered: 2014-06-12
Posts: 10

Re: Small unicode char converter

progandy wrote:

Nice. Maybe you could remove the convert-button and update the encodings automatically when the text changes. Providing the reverse operation from character code to character might be useful, too.

You can hit 'Enter' to convert the input, it will feel a little faster. But yeah, pasting & converting would be an interesting thing to do.
I shall definitely implement reverse operation.

Last edited by minerals (2014-06-15 22:49:29)

Offline

Board footer

Powered by FluxBB