Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

For New line, character count increments by 1 instead of 2



For New line, the character count increments by 1 instead of 2.

Character count is displayed in the Text Area when setting the Display Character Counter in Presentation Tab to True. When entering a new line in windows system, it is \r\n and in Unix system, it is \n. In this text area, when entering a new line (by pressing Enter key) the character count is increasing by 1, though it is a 2 character. This misleads users by displaying that there are characters remaining though no characters remain. 

Error Messages

Not Applicable

Steps to Reproduce

1. Add a text area to a section 
2. Configure the text area to represent the remaining character length, in the presentation tab of the text area properties 
3. Run the flow and enter the characters 

Root Cause

The root cause of this problem is in a third-party product, chromium.

To recreate it outside PRPC:

It displays char count as 9/10 but, it does not allow to another character.


This is not an issue with Pega, but with the chromium.

Published August 26, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us