![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi Eugene, you must change the encoding to the code page you are using with your editor. i.e. ?xml version="1.0" encoding="CP1250" ? if you are using Notepad in ANSI mode. A very good editor is WinScite, available at www.scintilla.org and able to edit in unicode. -- mfg, R.Glöckner ------ "Eugene Frolov" <john (AT) alice (DOT) ru> schrieb im Newsbeitrag news:eexQPiQqDHA.1884 (AT) TK2MSFTNGP09 (DOT) phx.gbl... Hi, All! I'm trying to translate main menu captions in Russian (File, Tools, Addins, Help and nested menu captions). I change <descriptions> tags contents in Menu_3.xml (and ThinMenu_3.xml) from English to Russian and use characters with code more than 128. After this corrections this xml files don't opens in IE, error description in my environment wrote in Russian and I'm don't present it here, but problem occurs with illegal characters in <decription> tag, as I can think. Any comments? Thanks! |
#3
| |||
| |||
|
|
Hi Robert! Thank you for your comment, this help for me. The exact header look like this: ?xml version="1.0" encoding="windows-1250"?>. My Menu_3.xml file opens correctly in IE. But another problem occurs - when I'm trying to open http://server/bip IE show error page Server Error in '/BIP' Application. -------------------------------------------------------------------------- -- ---- Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 80: <xml id="Menus" Line 81: <% Line 82: Response.Write(Session["Menu"].ToString()); Line 83: % Line 84: </xml Source File: c:\inetpub\wwwroot\bip\BIPdefault.aspx Line: 82 Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] ASP.BIPDefault_aspx.__Render__control1(HtmlTextWri ter __output, Control parameterContainer) in c:\inetpub\wwwroot\bip\BIPdefault.aspx:82 System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +27 System.Web.UI.Control.Render(HtmlTextWriter writer) +7 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243 System.Web.UI.Page.ProcessRequestMain() +1929 -------------------------------------------------------------------------- -- ---- Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 Any comments? Eugene. "Robert Glöckner" <rgloeckner (AT) gmx (DOT) de> ÓÏÏÂÝÉ?ÓÏÏÂÝÉÌÁ ?ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅ? news:9bevob.2em.ln (AT) marvin (DOT) gloeckner.cx... Hi Eugene, you must change the encoding to the code page you are using with your editor. i.e. ?xml version="1.0" encoding="CP1250" ? if you are using Notepad in ANSI mode. A very good editor is WinScite, available at www.scintilla.org and able to edit in unicode. -- mfg, R.Glöckner ------ "Eugene Frolov" <john (AT) alice (DOT) ru> schrieb im Newsbeitrag news:eexQPiQqDHA.1884 (AT) TK2MSFTNGP09 (DOT) phx.gbl... Hi, All! I'm trying to translate main menu captions in Russian (File, Tools, Addins, Help and nested menu captions). I change <descriptions> tags contents in Menu_3.xml (and ThinMenu_3.xml) from English to Russian and use characters with code more than 128. After this corrections this xml files don't opens in IE, error description in my environment wrote in Russian and I'm don't present it here, but problem occurs with illegal characters in <decription> tag, as I can think. Any comments? Thanks! |
#4
| |||
| |||
|
|
Hi, I'm trying to translate BIP main menu to Chinese. I follow the documenet setp by step and create 2 xml files as Menu_3.xml and ThinMenu_3.xml. Unfortunately,I get some problems just like u do. I wounder whether u could help me to solve it. Any ideas is appreciated! Thanks in advanced. Beverly "Eugene Frolov" <john (AT) alice (DOT) ru> ¼¶¼g©ó¶l¥ó·s»D :Oyg2senqDHA.1948 (AT) TK2MSFTNGP12 (DOT) phx.gbl... Hi Robert! Thank you for your comment, this help for me. The exact header look like this: ?xml version="1.0" encoding="windows-1250"?>. My Menu_3.xml file opens correctly in IE. But another problem occurs - when I'm trying to open http://server/bip IE show error page Server Error in '/BIP' Application. -------------------------------------------------------------------------- -- ---- Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 80: <xml id="Menus" Line 81: <% Line 82: Response.Write(Session["Menu"].ToString()); Line 83: % Line 84: </xml Source File: c:\inetpub\wwwroot\bip\BIPdefault.aspx Line: 82 Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] ASP.BIPDefault_aspx.__Render__control1(HtmlTextWri ter __output, Control parameterContainer) in c:\inetpub\wwwroot\bip\BIPdefault.aspx:82 System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +27 System.Web.UI.Control.Render(HtmlTextWriter writer) +7 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243 System.Web.UI.Page.ProcessRequestMain() +1929 -------------------------------------------------------------------------- -- ---- Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 Any comments? Eugene. "Robert Glöckner" <rgloeckner (AT) gmx (DOT) de> ÓÏÏÂÝÉ?ÓÏÏÂÝÉÌÁ ?ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅ? news:9bevob.2em.ln (AT) marvin (DOT) gloeckner.cx... Hi Eugene, you must change the encoding to the code page you are using with your editor. i.e. ?xml version="1.0" encoding="CP1250" ? if you are using Notepad in ANSI mode. A very good editor is WinScite, available at www.scintilla.org and able to edit in unicode. -- mfg, R.Glöckner ------ "Eugene Frolov" <john (AT) alice (DOT) ru> schrieb im Newsbeitrag news:eexQPiQqDHA.1884 (AT) TK2MSFTNGP09 (DOT) phx.gbl... Hi, All! I'm trying to translate main menu captions in Russian (File, Tools, Addins, Help and nested menu captions). I change <descriptions> tags contents in Menu_3.xml (and ThinMenu_3.xml) from English to Russian and use characters with code more than 128. After this corrections this xml files don't opens in IE, error description in my environment wrote in Russian and I'm don't present it here, but problem occurs with illegal characters in <decription> tag, as I can think. Any comments? Thanks! |
![]() |
| Thread Tools | |
| Display Modes | |
| |