public void Can_serialize_sweedish_chars() { var dto = new TextTags { Text = "Olle är en ÖL ål", Tags = new[] { "öl", "ål", "mål" } }; Serialize(dto); }
private void load(ILyricEditorState state) { state.BindableCaretPosition.BindValueChanged(e => { Lyric = e.NewValue?.Lyric; if (e.OldValue?.Lyric != null) { TextTags.UnbindFrom(e.OldValue.Lyric.RomajiTagsBindable); } if (e.NewValue?.Lyric != null) { TextTags.BindTo(e.NewValue.Lyric.RomajiTagsBindable); } }); }