Skip to content

AboutUsPage does not support Turkish characters. #80

@saklanmazozgur

Description

@saklanmazozgur

Hello,

While reading the data in the about.json file in AboutUsPage, it gives an error if there are Turkish characters. The error occurs in the following function.

private static T PopulateData<T>(string fileName)
        {
            var file = "OnBoarding2.Data." + fileName;

            var assembly = typeof(App).GetTypeInfo().Assembly;

            T data;

            using (var stream = assembly.GetManifestResourceStream(file))
            {
                var serializer = new DataContractJsonSerializer(typeof(T));
                **data = (T)serializer.ReadObject(stream);**
            }

            return data;
        }

Error : System.Reflection.TargetInvocationException: 'Exception has been thrown by the target of an invocation.'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions