Novell NETWARE 6-DOCUMENTATION Manual page 2146

Table of Contents

Advertisement

Search Encodings
Response Encodings
The only encodings NetWare Web Search currently supports when performing
a search are Unicode and UTF-8. Therefore, any page that allows Web users
to enter a search must ensure that the results are passed to the server in one of
these two formats. See
information.
To pass Unicode characters to NetWare Web Search, use the syntax
%uHHHH, where
Percent sign (%) is used as the CGI escape character
Lowercase letter U (u) indicate that the subsequent 4 characters represent
a Unicode value.
Four uppercase H letters (HHHH) indicate four hexadecimal characters
(0-9, A-F)
To pass UTF-8 characters to NetWare Web Search, just use normal ASCII
characters or the syntax %HH... for all other characters, where
% is the CGI escape character
HH indicates two hexidecimal characters (0-9, A-F)
. . . indicates additional %HH groupings that might be required to
properly transmit a character
HINT:
If the encoding of the page containing a search form is already set to UTF-
8 or Unicode, most browsers automatically transmit the entered search text
correctly using the designated encoding.
By default, NetWare Web Search uses UTF-8 in its sample search pages.
One of the many parameters that can be sent when conducting a search is the
encoding that should be used when returning the results back to the browser.
All NetWare Web Search encodings listed in
Character Sets for Use with NetWare Web Search," on page 227
If the search result page contains the ability to refine or redo the search, then
the response encoding can significantly impact the possible characters that can
be entered when conducting the next search from this page. For example, if
the user requests results in the iso-8859-1 encoding (HTML's default), then
only iso-8859-1 characters can be entered in the subsequent search from that
"Template Encodings" on page 219
Internationalizing Your Search Solution 217
for more
Appendix B, "Combined
can be used.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netware 6

Table of Contents