This is a migrated thread and some comments may be shown as answers.

Add RadControls Scenario... encoding issue

1 Answer 56 Views
Installer and Visual Studio Extensions
This is a migrated thread and some comments may be shown as answers.
Yonghan
Top achievements
Rank 1
Yonghan asked on 11 Jan 2011, 03:06 AM
Hi,

I can't compile with KOREAN charachers, When I create new page using Telerik Scenario.

<navigation:Page x:Class="RadGridViewDeleteConfirmation.RadControlsScenario2"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
                xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                mc:Ignorable="d"
                d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
    <TextBox Text="??" />
    </Grid>
</navigation:Page>
[see attached files]

'Error   1   Cannot resolve reference assemblies. Please check the reference assemblies. Invalid character in the given encoding.'

But, If I change encoding to 'Unicode (UTF-8 with signature) - Codepage 65001', then compilation is success!
also default vs10 silverlight page,control,.... ares fine.

Here are OS infos:
- Windows 7 x86 and Windows Server 2008 x86
- encoding : Korean CP949



1 Answer, 1 is accepted

Sort by
0
Petar
Telerik team
answered on 11 Jan 2011, 12:19 PM
Hi Yonghan,

Thank you for writing us.

The problem is caused because the Telerik Item Templates create files that are encoded using the default encoding for the current culture on the computer. It appears that the compiler is unable to compile these files if they have any culture specific characters. As you have discovered to fix the problem you have to set the encoding to Unicode.

We have logged the issue and will fix it for the next major release.

Kind regards,
Petar
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
Installer and Visual Studio Extensions
Asked by
Yonghan
Top achievements
Rank 1
Answers by
Petar
Telerik team
Share this question
or