Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for .NET
»
Issue with russian/cyrillic and editor.xhtml... (ce6.6)
Issue with russian/cyrillic and editor.xhtml... (ce6.6)
Last post 07-14-2010, 7:18 AM by
mike.chambers
. 2 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
07-13-2010, 5:56 AM
62448
mike.chambers
Joined on 06-15-2005
Posts 53
Issue with russian/cyrillic and editor.xhtml... (ce6.6)
Reply
Quote
Ok some lorem cyrillic....
Δουλεύουν
if I view the HTML
I see
Δουλεύουν
however editor.xhtml gives
Δουλε
ύ
ουν
notice the unencoded character in the string...
Help please!
Reproduceable in the
http://cutesoft.net/example/xmloutput.aspx
demo... and it's not just that one char but serveral...
07-13-2010, 10:39 PM
62464
in reply to
62448
Kenneth
Joined on 02-13-2008
Posts 3,886
Re: Issue with russian/cyrillic and editor.xhtml... (ce6.6)
Reply
Quote
Hi mike.chambers,
It si not the best way. But for now you can try this
<%@ Page Language=
"C#"
ValidateRequest=
"false"
%>
<%@ Register Assembly=
"CuteEditor"
Namespace=
"CuteEditor"
TagPrefix=
"CE"
%>
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
<script runat=
"server"
>
protected
override
void
OnLoad(EventArgs e)
{
if
(!IsPostBack)
{
editor1.Text =
"Δουλεύουν"
;
}
base
.OnLoad(e);
}
protected
void
getXHTML_Click(
object
sender, EventArgs e)
{
string
str = editor1.XHTML.Replace(
"ύ"
,
"ύ"
);
textBox1.Text = str;
}
</script>
<html xmlns=
"http://www.w3.org/1999/xhtml"
>
<head id=
"Head1"
runat=
"server"
>
<title>Untitled Page</title>
</head>
<body>
<form id=
"form1"
runat=
"server"
>
<CE:Editor ID=
"editor1"
runat=
"server"
>
</CE:Editor>
<asp:Button ID=
"getXHTML"
runat=
"server"
Text=
"Get XHTML"
OnClick=
"getXHTML_Click"
/>
<asp:TextBox ID=
"textBox1"
runat=
"server"
Width=
"800px"
></asp:TextBox>
</form>
</body>
</html>
Regards,
ken
07-14-2010, 7:18 AM
62479
in reply to
62464
mike.chambers
Joined on 06-15-2005
Posts 53
Re: Issue with russian/cyrillic and editor.xhtml... (ce6.6)
Reply
Quote
I know you already say that it's not a great workaround... but it really isn't... there are 10's of characters from cyrillic that have this problem...
presumably now you have seen this it will be resolved in a patch to the ce engine?