Hi,
Encountered an issue while working on the Lumira desktop 1.20 and Data access extension. Lumira does not recognize the certain symbols on the console. After changing the code page 437 (Default MS-DOS) to code page 858, I could print the € and £. But Lumira did not recognize them. This is just the example I took there could be many more such characters. ( i just took an example for currency symbols, there could be anything)
I am attaching all supporting documents.
- Sample C# code.
namespace ConsoleApplication1
{
class Program
{
public static unsafe void Main(string[] args)
{
var encoder = System.Text.Encoding.GetEncoding(858);
byte[] c = new byte[] { 156 };
Console.WriteLine("beginDSInfo");
Console.WriteLine("csv_separator;,;true");
Console.WriteLine("csv_date_format;yyyy-m-d;true");
Console.WriteLine("csv_number_grouping;,;true");
Console.WriteLine("csv_number_decimal;.;true");
Console.WriteLine("csv_first_row_has_column_names;true;true");
Console.WriteLine("endDSInfo");
Console.WriteLine("beginData");
Console.WriteLine("Name," + encoder.GetString(c) + " Amount , Date");
Console.WriteLine("Mayank Mishra, 24.5, 2024-10-31");
Console.WriteLine("Amit Gupta, 30, 2010-12-25");
Console.WriteLine("Mayank Mishra, 24.5, 2024-10-31");
Console.WriteLine("Amit Gupta, 30, 2010-12-25");
Console.WriteLine("endData");
}
}
}
- Console Screen shot
- Lumira Screen shot
Did anyone else face the same problem? What was the solution you adapted to? Looking forward to hear from product team.
Best Regards,
Mayank Mishra