-
-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Description
In chinese text context, each character is a word, there is no space between words.
One expect difference between "台灣好" and "臺灣好" is only the first character "台" against "臺".
In my simple project, I got
My code:
MainWindow.xaml
<Window x:Class="WpfAppDiffPlex.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:diffplex="clr-namespace:DiffPlex.Wpf.Controls;assembly=DiffPlex.Wpf"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid >
<diffplex:DiffViewer x:Name="DiffView" FontSize="24"/>
</Grid>
</Window>
MainWindow.xaml.cs
using System.Windows;
namespace WpfAppDiffPlex
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
DiffView.OldText = "台灣好\n台 灣好\nTaiwan good";
DiffView.NewText = "臺灣好\n臺 灣好\nTainan good";
}
}
}
How can I fix this problem? Thanks
Metadata
Metadata
Assignees
Labels
No labels
