LoadIanaSubtags() in StandardTags.cs is using "\r\n" to split tags. This fails on Linux which uses "\n" for a linefeed only. There are other instances of "\r\n" being used in the Palaso Library for linefeeds and these may also cause problems on Linux. Error can be recreated using test console app below.
using System;
using Palaso.IO;
using Palaso.Reporting;
using Palaso.UI.WindowsForms.WritingSystems;
namespace Palaso_LookupIsoCodeModel_test
{
class MainClass
{
public static void Main (string[] args)
{
LookupIsoCodeModel _lookupIsoCode = new LookupIsoCodeModel();
}
}
}
LoadIanaSubtags() in StandardTags.cs is using "\r\n" to split tags. This fails on Linux which uses "\n" for a linefeed only. There are other instances of "\r\n" being used in the Palaso Library for linefeeds and these may also cause problems on Linux. Error can be recreated using test console app below.
using System; using Palaso.IO; using Palaso.Reporting; using Palaso.UI.WindowsForms.WritingSystems;
namespace Palaso_LookupIsoCodeModel_test { class MainClass { public static void Main (string[] args) { LookupIsoCodeModel _lookupIsoCode = new LookupIsoCodeModel(); } } }