View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002228 | NoesisGUI | Unity | public | 2022-01-02 20:19 | 2022-01-05 15:47 |
| Reporter | stonstad | Assigned To | sfernandez | ||
| Priority | normal | Severity | major | ||
| Status | resolved | Resolution | no change required | ||
| Product Version | 3.1.2 | ||||
| Target Version | 3.1.3 | ||||
| Summary | 0002228: XAML Not Found Error and Unicode Characters | ||||
| Description | XAML containing certain Unicode characters causes Noesis to throw a cryptic XAML not found 'filename' error. The actual cause is the presence of certain Unicode characters. Example 1: Example 2: [NOESIS/E] Assets/User Interface/UIStateMachine.xaml(27): Xaml not found 'filename' C:/Users/stons/Source/StellarConquest/StellarConquest.Utilities/Noesis/3.1.2/Runtime/NoesisUnity.cs:357) | ||||
| Steps To Reproduce | Add one of the following to an XAML file: <TextBlock Text="Å"/> OR <!-- Å --> I'm using default file encoding. | ||||
| Attached Files | |||||
| Platform | Any | ||||
|
I'm not able to reproduce this issue, could you attach a file that fails for you? |
|
|
Also, make sure the XAML is saved with UTF8 encoding |
|
|
Encl. associated XAML and VS encoding configuration for file. UIStateMachine.xaml (2,248 bytes)
<UserControl
x:Class="StellarConquest.Presentation.Unity.UI.UIStateMachine"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
xmlns:noesis="clr-namespace:NoesisGUIExtensions"
xmlns:local="clr-namespace:StellarConquest.Presentation.Unity.UI"
x:Name="_UIStateMachine"
d:DesignWidth="1280" d:DesignHeight="720">
<noesis:Xaml.Dependencies>
<noesis:Dependency Source="/Assets/User Interface/Controls/Input Control/InputControl.xaml"/>
<noesis:Dependency Source="/Assets/User Interface/Controls/Transition Control/TransitionControl.xaml"/>
<noesis:Dependency Source="/Assets/User Interface/Controls/Radial Range Control/RadialRangeControl.xaml"/>
<noesis:Dependency Source="/Assets/User Interface/Screens/Login/LoginScreen.xaml"/>
<noesis:Dependency Source="/Assets/User Interface/Screens/Character Selection/CharacterSelectionScreen.xaml"/>
<noesis:Dependency Source="/Assets/User Interface/Screens/Character Creation/CharacterCreationScreen.xaml"/>
<noesis:Dependency Source="/Assets/User Interface/Screens/Game/GameScreen.xaml"/>
<noesis:Dependency Source="/Assets/User Interface/Screens/Overlay Layer/OverlayLayer.xaml"/>
</noesis:Xaml.Dependencies>
<Grid>
<Grid x:Name="_BaseLayer"/>
<Rectangle x:Name="_ConnectionRectangle" Height="128" Width="128" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="9" Fill="{StaticResource connection}" IsHitTestVisible="False" Visibility="Collapsed">
<Rectangle.Effect>
<DropShadowEffect BlurRadius="15" ShadowDepth="0" Opacity="1"/>
</Rectangle.Effect>
</Rectangle>
<local:OverlayLayer x:Name="_OverlayLayer"/>
<local:TransitionControl x:Name="_TransitionLayer"/>
<local:RadialRangeControl ScaleMinimumAngle="-150" ScaleMaximumAngle="150" ScaleBrush="Silver" TextStringFormat="{}{0}-{1}" Width="500" Height="500" />
</Grid>
</UserControl> |
|
|
Changing the encoding to UTF8 should fix the issue. We are only compatible with that encoding. |
|
|
Understood. Thank you. |
|
|
Please, let us know if we can close this. Thank you! |
|
|
Yes, and thank you! |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-01-02 20:19 | stonstad | New Issue | |
| 2022-01-03 11:45 | sfernandez | Assigned To | => sfernandez |
| 2022-01-03 11:45 | sfernandez | Status | new => assigned |
| 2022-01-03 11:45 | sfernandez | Target Version | => 3.1.3 |
| 2022-01-03 12:21 | sfernandez | Status | assigned => feedback |
| 2022-01-03 12:21 | sfernandez | Note Added: 0007706 | |
| 2022-01-03 13:28 | jsantos | Note Added: 0007707 | |
| 2022-01-04 17:46 | stonstad | File Added: UIStateMachine.xaml | |
| 2022-01-04 17:46 | stonstad | File Added: Encoding.png | |
| 2022-01-04 17:46 | stonstad | Note Added: 0007712 | |
| 2022-01-04 17:46 | stonstad | Status | feedback => assigned |
| 2022-01-04 17:48 | jsantos | Note Added: 0007713 | |
| 2022-01-04 17:48 | jsantos | Status | assigned => feedback |
| 2022-01-04 21:45 | stonstad | Note Added: 0007714 | |
| 2022-01-04 21:45 | stonstad | Status | feedback => assigned |
| 2022-01-05 10:31 | jsantos | Note Added: 0007715 | |
| 2022-01-05 10:31 | jsantos | Status | assigned => feedback |
| 2022-01-05 15:01 | stonstad | Note Added: 0007716 | |
| 2022-01-05 15:01 | stonstad | Status | feedback => assigned |
| 2022-01-05 15:47 | jsantos | Status | assigned => resolved |
| 2022-01-05 15:47 | jsantos | Resolution | open => no change required |
| 2025-10-10 13:29 | jsantos | Category | Unity3D => Unity |