Simply, if someone comes across this question, I found another solution using the unicode blocks listed here ( http://msdn.microsoft.com/en-us/library/20bw873z.aspx#SupportedNamedBlocks ) in a regular expression.
var Name = "Joe Bloggs"; var Regex = new Regex(@"\p{IsCJKUnifiedIdeographs}"); if(Regex.IsMatch(Name)) { //switch to CJK font } else { //keep calm and carry on }
EDIT:
You may have to match more than just unified ideograms, try using this as a regular expression:
string r = @"\p{IsHangulJamo}|"+ @"\p{IsCJKRadicalsSupplement}|"+ @"\p{IsCJKSymbolsandPunctuation}|"+ @"\p{IsEnclosedCJKLettersandMonths}|"+ @"\p{IsCJKCompatibility}|"+ @"\p{IsCJKUnifiedIdeographsExtensionA}|"+ @"\p{IsCJKUnifiedIdeographs}|"+ @"\p{IsHangulSyllables}|"+ @"\p{IsCJKCompatibilityForms}";
This works for all the Korean text I tried.
user1961026
source share