Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
Determine the Character Set for Encoding
The suitable character set for decoding command output is determined at runtime. The multi-lingual solution is based on the following facts and assumptions:
-
It is possible to determine the OS language in a locale-independent way, for example, by running the chcp command on Windows or the locale command on Linux.
-
Relation Language-Encoding is well known and can be defined statically. For example, the Russian language has two of the most popular encoding:
Cp866
andWindows-1251
. -
One character set for each language is preferable, for example, the preferable character set for Russian language is
Cp866
. This means that most of the commands produce output in this encoding. -
Encoding in which the next command output is provided is unpredictable, but it is one of the possible encoding for a given language. For example, when working with a Windows machine with a Russian locale, the system provides the ver command output in Cp866, but the ipconfig command is provided in Windows-1251.
-
A known command produces known key words in its output. For example, the ipconfig command contains the translated form of the IP-Address string. So the ipconfig command output contains IP-Address for the English OS, for the Russian OS, IP-Adresse for the German OS, and so on.
Once it is discovered in which language the command output is produced (# 1), possible character sets are limited to one or two (# 2). Furthermore, it is known which key words are contained in this output (# 5).
The solution, therefore, is to decode the command output with one of the possible encoding by searching for a key word in the result. If the key word is found, the current character set is considered the correct one.