A method and system are provided for native-byte form handling, one
embodiment comprising a method for encoding user-submitted native-byte
form data in a client-server computer network. A user, at a client
computer, can select a Uniform Resource Locator ("URL") with his or her
web browser for access to a content provider's website. When accessing
the content provider's web server, the client computer can transmit
client computer specific information to the web server that can be used
by the web server to determine the user's locale. The web server can
determine the user's (client computer's) locale using, for example, an
automatic locale detection algorithm, and forward the user's locale
information to a back-end server. The content provider's back-end server
can generate a locale-specific form having a pre-populated,
uniquely-named field, using, for example, a dynamic page generation
program. The locale-specific form can be served to the user's web browser
for display to the user. The user can enter, on the locale-specific form,
information that he or she wishes to submit to the content provider
(e.g., a request for content). The user can transmit the form-entered
data, including the pre-populated, uniquely-named field, to the content
provider's web server. The web server can process the user form data, and
an encoding object can be created, based on the value of the
pre-populated field. The user form data can then be transcoded from its
original encoding to a new encoding (e.g., the content provider's
scripting environment encoding) and forwarded to the content provider's
scripting environment.