Hello Marc, > I'll probably go the unicode to win-1251 route, since the data file is > generated via a C# program so using Notepad or the utf8proc is a bit more work > than I want to do for now. I believe that if I detect a Russian > character, then subtracting 848 from it will get me into the win-1251 realm. > I try > it out in the next day or two.
in C# asciiString = Regex.Replace(unicodeString , @"[^\u0000-\u007F]", "?"); should do the necessary replacement. Best regards Xypron -------- Original-Nachricht -------- > Datum: Sun, 13 Jun 2010 22:12:37 -0400 > CC: [email protected] > Betreff: RE: [Help-glpk] Russian characters not allowed in GMPL? > Andrew and Xypron: Thank you. It's great that you respond so quickly to > all types of questions. It significantly increases the value of GLPK to > know that there is such a dedicated user community. Kudos also go for all the > others that regularly respond to help requests (Noli, Nigel, Michael and > so many others). > > I'll probably go the unicode to win-1251 route, since the data file is > generated via a C# program so using Notepad or the utf8proc is a bit more work > than I want to do for now. I believe that if I detect a Russian > character, then subtracting 848 from it will get me into the win-1251 realm. > I try > it out in the next day or two. > -- GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl. Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
