468,536 Members | 1,549 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,536 developers. It's quick & easy.

sending greek from a textbox

Hi I have a web app that has a webpage on which there is a textbox and
a submit button.
if I type greek and press submit, the greek does not go through to the
webserver. If I type greek and english, only the english go through.
How can I make the greek go through?

for example if i type "here is greek xxxxxx end of greek" (where
xxxxxx are some greek chars) I get the following on the webserver (by
looking at it from the debugger) : "here is greek end of greek"

The codebehind has the directive :

<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="ToMyAccounts.aspx.vb" responseEncoding="iso-8859-7"
Inherits="myapp.ToMyAccounts" %>

iso-8859-7 is greek.
An help?
Nov 18 '05 #1
1 1851
Have you tried setting it to use unicode?
Here's more info on the subject:
http://msdn.microsoft.com/library/de...gbasetypes.asp

Also, you might adjust the Globalization section of your web.config.
Try changing it to something more like this:

<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
<globalization
fileEncoding="iso-8859-1"
requestEncoding="iso-8859-1"
responseEncoding="iso-8859-1"
/>
</system.web>
</configuration>

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

<in*******@hotmail.com> wrote in message
news:a8**************************@posting.google.c om...
Hi I have a web app that has a webpage on which there is a textbox and
a submit button.
if I type greek and press submit, the greek does not go through to the
webserver. If I type greek and english, only the english go through.
How can I make the greek go through?

for example if i type "here is greek xxxxxx end of greek" (where
xxxxxx are some greek chars) I get the following on the webserver (by
looking at it from the debugger) : "here is greek end of greek"

The codebehind has the directive :

<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="ToMyAccounts.aspx.vb" responseEncoding="iso-8859-7"
Inherits="myapp.ToMyAccounts" %>

iso-8859-7 is greek.
An help?

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by sharma | last post: by
2 posts views Thread by Kyle | last post: by
27 posts views Thread by alexdoulou | last post: by
9 posts views Thread by PAN | last post: by
4 posts views Thread by Kiki | last post: by
1 post views Thread by interuser | last post: by
6 posts views Thread by Anuradha | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.