1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7    <title>BANNED_WORD_CHECK_TEXT_LENGTH_MAX_MAX</title>
8  </head>
9  <body>
10    <h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/swkbd/Overview.html">swkbd</a>::<a href="../../../nn/swkbd/CTR/Overview.html">CTR</a>::BANNED_WORD_CHECK_TEXT_LENGTH_MAX_MAX</CODE> Constant</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14const <a href="../../../nn_types/u16.html">u16</a> BANNED_WORD_CHECK_TEXT_LENGTH_MAX_MAX =  64;</pre>
15    </div>
16    <h2>Description</h2>
17    <div class="section">
18      <p>The maximum value for the maximum number of characters that can be entered when input of profanity is prohibited.</p><p>The profanity check is used in the following function.</p><pre><a href="../../../nn/ngc/CTR/ProfanityFilter/CheckProfanityWords.html">nn::ngc::CTR::ProfanityFilter::CheckProfanityWords</a>( bit32 *, bool, const wchar_t **, size_t )</pre><p>Due to the specifications of this function, the maximum number of characters for profanity words includes the NULL terminator. Therefore, when strings longer than <CODE>BANNED_WORD_CHECK_TEXT_LENGTH_MAX_MAX</CODE> are specified, the text after the maximum character limit is not checked.</p><p>When the <CODE>TEXT_CHECK_BANNED_WORDS</CODE> flag is set in the <CODE>textCheckFlag</CODE> member variable of the <a href="../../../nn/swkbd/CTR/Config/Overview.html"><CODE>nn::swkbd::CTR::Config</CODE></a> structure, the value set in the <CODE>textLengthMax</CODE> member variable is clamped not to exceed this constant's value.</p></div>
19    <h2>Revision History</h2>
20    <div class="section">
21      <dl class="history">
22        <dt>2012/06/26</dt>
23<dd>Added to the description the limitations on the number of characters that are checked for profanity.<br />
24        </dd>
25        <dt>2011/03/01</dt>
26        <dd>Initial version.<br />
27        </dd>
28      </dl>
29    </div>
30  <hr><p>CONFIDENTIAL</p></body>
31</html>