コード例 #1
0
        protected void btnCompress_Click(object sender, EventArgs e)
        {
            string toConvert = Server.HtmlEncode(txtInput.Text);

            images.InnerHtml = recoder.ShortenToAnyDictionary(
                HttpUtility.HtmlEncode(toConvert),
                Recode.GetHeiroglyphDictionary(),
                Recode.ModifierStyle.CapitalizeFirst, Recode.PunctuationStyle.Western
                ).Replace("\n", "<br/>");
        }