[chronojump] Unicoding all encoder graphs stuff in Windows



commit f274fb7b1dc36a22e6d9d56563ef3f4580c6a8e1
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sat Nov 7 13:23:48 2015 +0100

    Unicoding all encoder graphs stuff in Windows

 src/utilEncoder.cs |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/utilEncoder.cs b/src/utilEncoder.cs
index 56471fe..207a4ab 100644
--- a/src/utilEncoder.cs
+++ b/src/utilEncoder.cs
@@ -316,7 +316,15 @@ public class UtilEncoder
                                temp = Util.ChangeChars(Catalog.GetString(etw), ";", ",");
                                temp = Util.RemoveNewLine(temp, true);
                                temp = Util.RemoveChar(temp, '#'); //needed to distinguish comments '#' than 
normal lines like the EncoderTranslatedWords
+               
+                               if (UtilAll.IsWindows()) {
+                                       LogB.Debug(" (1) Unicoding:", temp);
+                                       temp = Util.ConvertToUnicode(temp);
+                                       LogB.Debug(" (2) Unicoded:", temp);
+                               }
+
                                encoderTranslatedWordsOK[count++] = temp;
+
                        }
                } else
                        encoderTranslatedWordsOK = Constants.EncoderEnglishWords;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]