Skip to content

Validation.json

Overview

Pleasanter counts all characters as one character, regardless of whether they are half-width or full-width characters. If you want to use this to count half-width characters as 1 character and double-width characters as 2 characters, set this parameter. The settings will be reflected in the counting method of "Manage Table: Editor: Column Advanced Settings: Maximum Number of Characters".

Cautions

Setting Values

The setting values ​​of this parameter file are as follows.

Parameter name e.g. Description
MaxLength null Unused
MaxLengthCountType "Character" Specify "Character" if you want to count both half-width and full-width characters as one character. Specify "Regex" if you want to set the method for counting one character using a regular expression.
SingleByteCharactorRegexClient "\x01-\x7E\uFF65-\uFF9F" Valid when MaxLengthCountType is specified as "Regex". Client-side regular expression for characters to be counted as one character.
SingleSyteCharactorRegexServer "\u0001-\u007E\uFF65-\uFF9F" Valid when MaxLengthCountType is specified as "Regex". Server-side regular expression for characters to be counted as one character.