bostrt / wordcount.js

Calculate file newlines, word, and byte counts on client side using HTML5 File API. (Emulates Linux's wc command)
http://bostrt.github.io/wordcount.js/
MIT License
110 stars 8 forks source link

MS Word pasting apostrope #6

Open athlonzam opened 5 years ago

athlonzam commented 5 years ago

When pasting from word the word with apostrope counts 2 words

bostrt commented 5 years ago

@athlonzam I'm taking a look at this.

bostrt commented 5 years ago

@athlonzam I think I will need a bit more information:

athlonzam commented 5 years ago

Versions of ms word are different but with same results. Sorry to get your attention. here is a screen shot one word but 2 words are deducted from 100 words. [image: image.png]

On Thu, 21 Mar 2019 at 23:13, Robert Bost notifications@github.com wrote:

@athlonzam https://github.com/athlonzam I think I will need a bit more information:

  • What .doc version are you using?
  • Are you copying the troublesome word from a .doc into a plain-text file and then running it through wordcount.js?
  • Can you try reproducing this on http://bostrt.github.io/wordcount.js/ so you and I can be using the same app for our testing? This would help eliminate any unknowns for me.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bostrt/wordcount.js/issues/6#issuecomment-475270223, or mute the thread https://github.com/notifications/unsubscribe-auth/Auhd03cqyQgxT9HWJ7Vth1q2U88zm0ISks5vY6GIgaJpZM4cAvPN .

bostrt commented 5 years ago

@athlonzam Looks like GitHub doesn't like image attachments. Can you post that to a GitHub comment directly?

athlonzam commented 5 years ago

image

bostrt commented 5 years ago

Did you find a solution to this issue?

On Fri, Mar 22, 2019, 9:03 PM athlonzam notifications@github.com wrote:

Closed #6 https://github.com/bostrt/wordcount.js/issues/6.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/bostrt/wordcount.js/issues/6#event-2224144219, or mute the thread https://github.com/notifications/unsubscribe-auth/AANI-pTNo1317Dhuz2Gxe6FQcb2lXijcks5vZZlngaJpZM4cAvPN .

athlonzam commented 5 years ago

did not? i dont want to replace your script , your script is the best so i was forced to ask you

bostrt commented 5 years ago

I saw the issue close so just wanted to make sure :)

I also want to confirm you are using my library. Based on the screenshot, looks like you are using a word count library that checks a textarea whereas mine only acts on file uploads.

I believe you may want to double-check what library is being used and open a new issue.

On Fri, Mar 22, 2019, 10:36 PM athlonzam notifications@github.com wrote:

Reopened #6 https://github.com/bostrt/wordcount.js/issues/6.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/bostrt/wordcount.js/issues/6#event-2224172446, or mute the thread https://github.com/notifications/unsubscribe-auth/AANI-uuAXO_fPpUFfArH32A6gudwGHEaks5vZa9FgaJpZM4cAvPN .