Jump to content



Photo
- - - - -

Online Txt Accent Remover V2


  • Please log in to reply
11 replies to this topic

#1 helder7

helder7

    Casio Addict

  • Members
  • PipPipPip
  • 94 posts
  • Gender:Male

Posted 05 July 2012 - 01:24 PM

Posted Image

A simple online tool that replace the special characters by characters supported by txt reader for mobile devices like calculators, mp4 players, mobile phones, etc...

Like:
ã -> a
é -> e

The initial version V1 is released some months ago, in a discussion about txt readers with xtrm0.

Now i updated it!

New features in V2:
-Now your can upload your *.txt files instead of writing text in the page.
-More special special characters support (portuguese, french, spanish, german, italian...).
-The tool count the number of converted files.

You can use it at:
http://wiki.planet-c...accent-remover/

#2 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 05 July 2012 - 03:15 PM

Very nice.

Do you have a way to copy/paste text into it also?

And another thing: You may want to style the choose button with CSS to match the Upload button. ;)

#3 helder7

helder7

    Casio Addict

  • Members
  • PipPipPip
  • 94 posts
  • Gender:Male

Posted 05 July 2012 - 05:25 PM

in next update i will add copy past function that return a generated .TXT file

about upload button, i had read this article: http://www.quirksmod.../inputfile.html, but i dont want lose time with minor changes

#4 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 05 July 2012 - 05:52 PM

That's a very neat trick. Thanks for the link

#5 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 05 July 2012 - 06:27 PM

Very nice trick. Why don't you post the link in the Web Design Thread?

#6 helder7

helder7

    Casio Addict

  • Members
  • PipPipPip
  • 94 posts
  • Gender:Male

Posted 06 July 2012 - 01:08 AM

New Update - V2.1 (06/07/2012)
-New text input way, now you can copy and paste or write text in the page (calc screen) and download a generated .txt without accents (you can toggle between import *.txt mode or write text mode pressing F2)
-Cronjob to delete files added

#7 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 06 July 2012 - 01:30 AM

Hmm... doesn't seem to be working well for me.

Here is the original: http://www.toppagede...o/repay_old.txt

And here is the converted one: http://www.toppagede...casio/repay.txt

See for yourself what problems i get.

#8 helder7

helder7

    Casio Addict

  • Members
  • PipPipPip
  • 94 posts
  • Gender:Male

Posted 06 July 2012 - 01:45 AM

i found the problem youre using utf8 .txt files as input, please use ansi :rolleyes:

Edited by helder7, 06 July 2012 - 01:46 AM.


#9 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 06 July 2012 - 01:47 AM

i found the problem youre using utf8 .txt files as input, please use ansi :rolleyes:


How to convert UTF to ansi?

#10 helder7

helder7

    Casio Addict

  • Members
  • PipPipPip
  • 94 posts
  • Gender:Male

Posted 06 July 2012 - 01:56 AM

How to convert UTF to ansi?

in windows notepad is default option
Posted Image

you use linux?

=========================
btw: i downt know why but a string like this:

"cao"


return this:

\"cao\"


i will try add tomorrow a code to remove " but will not be easy because this character is used in php syntax

Edited by helder7, 06 July 2012 - 01:57 AM.


#11 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 06 July 2012 - 02:01 AM

http://www.gnu.org/s...13/iconv.1.html

#12 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 06 July 2012 - 02:09 AM

http://www.gnu.org/s...13/iconv.1.html


Will that change an e with an accent to an e without one? or will it give me hex or something?

EDIT

This is what happens:

flyingfisch@flyingfisch-Office-Computer:~/Desktop/Shortcuts/Shortcuts/ebooks/pimpernel$ iconv -f UTF-8 -t CP1252 repay.txt
iconv: illegal input sequence at position 0





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users