--- Comment #11 from Rainer Rillke @commons.wikimedia 
<> ---
(In reply to Bawolff (Brian Wolff) from comment #9)
> (I have no idea how to do this on other operating systems)

You can use node.js with

C:\Users\XXX> npm install unorm

Create a script named "ps.js" at "C:\Users\XXX" with the following content

var fileName = 'sample.txt',
    fs = require('fs'),
    unorm = require('unorm');

fs.readFile(fileName, { encoding: 'utf-8' }, function (err, stData) {
  if (err) throw err;
  stData = unorm.nfc(stData);
  fs.writeFileSync(fileName, stData, { encoding: 'utf-8' })

(assuming that "C:\Users\XXX\sample.txt" is the file you'd like to process)

and run node.js:

C:\Users\XXX> node pr.js

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to