# Text Queries

When you send a query action to the IDOL Content component, by default it returns results that use the same language and encoding as the query text. This language type can be:

- the language and encoding specified in the `LanguageType` parameter sent with the query.

- the language type specified in the `DefaultLanguageType` configuration parameter if the query does not include a `LanguageType` parameter.

To return query results in a specific encoding, add the `OutputEncoding` parameter to your query action. This parameter converts the results of a query to any type of encoding that is compatible with the query language. If you specify an encoding that is not compatible with the query language, Content returns an appropriate message.

You can specify a default value for the `OutputEncoding` parameter in the `DefaultEncoding` configuration parameter.

For example:

    http://12.3.4.56:4000/action=Query&Text=Neurologia i Neurochirurgia&LanguageType=PolishEASTERNEUROPEAN&OutputEncoding=EASTERNEUROPEAN_ISO

In this example, Content converts all query results to `EASTERNEUROPEAN_ISO`.

Related Topics

- Supported Languages and Common Encodings

_FT_HTML5_bannerTitle.htm