Quantcast
Channel: SCN : Popular Discussions - SAP Lumira
Viewing all articles
Browse latest Browse all 1811

Data Access Extension (Bug) - Character Support

$
0
0

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.

Program.png

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

Console.png

  • Lumira Screen shot

Lumira.PNG

Lumira in Data.PNG

 

 

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


Viewing all articles
Browse latest Browse all 1811

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>