Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Tue Feb 13, 2024 1:54 pm

Hi!

When i try to use Spire.XlS with Xamarin.Forms i get the following exception: System.NotSupportedException: 'Encoding 437 data could not be found. Make sure you have correct international codeset assembly installed and enabled.'

Happenes when trying to create a Workbook:
Workbook workbook = new Workbook();

Any help would be appreciated!
Thanks!

baszsisz
 
Posts: 4
Joined: Tue Feb 13, 2024 1:38 pm

Tue Feb 13, 2024 2:04 pm

I found the answer on StackOverflow, which solved my problem:
stackoverflow.com/questions/50586466/xamarin-encoding-error-1252-data-could-not-be-found

In the the Android project, go to Properties -> Android Options

Then Linker Options, in the "Additional supported encodings" check "West".

baszsisz
 
Posts: 4
Joined: Tue Feb 13, 2024 1:38 pm

Wed Feb 14, 2024 2:37 am

Hello,

Thanks for your inquiry.
I'm glad to hear that you have resolved this issue. If you have any other questions, please feel free to write to me at any time.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 454
Joined: Mon Dec 27, 2021 2:23 am

Return to Spire.XLS