From 7ce46016be9eac840da45a7a26167c315163028f Mon Sep 17 00:00:00 2001 From: "Troy A. Griffitts" Date: Tue, 5 Feb 2013 13:26:39 +0000 Subject: added unescaped greek to csv git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@412 07627401-56e2-0310-80f4-f8cd0041bdcd --- flashtools/flash.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'flashtools') diff --git a/flashtools/flash.cpp b/flashtools/flash.cpp index 52b5dea..ca6d59d 100644 --- a/flashtools/flash.cpp +++ b/flashtools/flash.cpp @@ -188,8 +188,9 @@ void outputCSV(const vector &wordList) { // output header cout << "FreqKJV|" - << "Greek|" << "Strongs|" + << "Greek|" + << "Escaped UTF-8|" << "TranslationInAV" << "\n"; /* @@ -223,8 +224,9 @@ void outputCSV(const vector &wordList) { s = itoa(atoi(s.c_str())).c_str(); cout << w.freq << "|" - << escapedUTF8(w.utf8).c_str() << "|" << w.strong << "|" + << w.utf8.c_str() << "|" + << escapedUTF8(w.utf8).c_str() << "|" << prettyKJVFreq(w.kjvFreq).c_str() /* << w.freq << "|" @@ -339,7 +341,7 @@ vector processWords(const char *range, bool addAll = true, SWBuf modName = SWModule *tmpBible = manager.getModule(modName); if (!tmpBible) { - cerr << "Unable to locate KJV module" << endl; + cerr << "Unable to locate " << modName.c_str() << " module" << endl; exit(1); } SWModule &bible = *tmpBible; -- cgit