Tuesday, April 23, 2013

Xamarin.iOS: solving the “codepage 1252 not supported” exception

When creating an application using Xamarin.iOS(also known as MonoTouch), we stumbled over following exception message when deserializing some data:

“codepage 1252 not supported”

We solved this by executing the following steps:

  • Go to the Project Settings of your project in Xamarin Studio.
  • Go to the Build Tab and select the iOS Build option.
  • Check the west checkbox in the Internationalization codesets list.

iOSSettings

2 comments:

Sascha said...

I am developing with Mono for Android and was looking for hours until I found this solution. Simple! It works like a charme now :). Thank you very much.

IOS code review tools said...

Our actual development methodology doesn't have any place for code review but your blog added all the required details for the IOS code review tools. Thank you for sharing.