반응형
        private string GetUnicodeValue(string stringUnicode)
        {
            Regex regex = new Regex(@"\\[uU]([0-9A-F]{4})", RegexOptions.IgnoreCase);
            return regex.Replace(stringUnicode, match => ((char)int.Parse(match.Groups[1].Value, NumberStyles.HexNumber)).ToString());
        }

+ Recent posts