function enforceTextDirWithUcc ( text ) {
		if (isBidiEnabled() && text.trim()) {
			bidiLayout = getBidiLayout();
			var dir = bidiLayout === "auto" ? checkContextual( text ) : bidiLayout;	//$NON-NLS-0$
			return ( dir === "ltr" ? LRE : RLE ) + text + PDF;	//$NON-NLS-0$
		}
		return text;	
	}
/**
	 * Wraps text by UCC (Unicode control characters) according to text direction
	 * In some cases defining the dir attribute in a different direction than the GUI orientation, 
	 * changes the alignment of the text and/or adjacent elements such as icons.
	 * This doesn't follow the bidi standards (static text should be aligned following GUI direction).
	 * Therefore the only solution is to use UCC (Unicode control characters) to display the text in a correct orientation.
	 * (the text is changed for display purposes only. The original text in the repository remains unchanged)
	 * @param {String} the text to be wrapped
	 * @returns {String} text after adding ucc characters.
	 */
Wraps text by UCC (Unicode control characters) according to text direction
In some cases defining the dir attribute in a different direction than the GUI orientation,
changes the alignment of the text and/or adjacent elements such as icons.
This doesn't follow the bidi standards (static text should be aligned following GUI direction).
Therefore the only solution is to use UCC (Unicode control characters) to display the text in a correct orientation.
(the text is changed for display purposes only. The original text in the repository remains unchanged)
@param {String} the text to be wrapped
@returns {String} text after adding ucc characters.
Wraps text by UCC ( Unicode control characters ) according to text direction In some cases defining the dir attribute in a different direction than the GUI orientation changes the alignment of the text and / or adjacent elements such as icons . This doesn ' t follow the bidi standards ( static text should be aligned following GUI direction ) . Therefore the only solution is to use UCC ( Unicode control characters ) to display the text in a correct orientation . ( the text is changed for display purposes only . The original text in the repository remains unchanged ) @param { String } the text to be wrapped @returns { String } text after adding ucc characters .
function enforceTextDirWithUcc ( text ) {
		if (isBidiEnabled() && text.trim()) {
			bidiLayout = getBidiLayout();
			var dir = bidiLayout === "auto" ? checkContextual( text ) : bidiLayout;	
			return ( dir === "ltr" ? LRE : RLE ) + text + PDF;	
		}
		return text;	
	}
function enforceTextDirWithUcc ( text ) { if ( isBidiEnabled ( ) && text . trim ( ) ) { bidiLayout = getBidiLayout ( ) ; var dir = bidiLayout === "auto" ? checkContextual ( text ) : bidiLayout ; return ( dir === "ltr" ? LRE : RLE ) + text + PDF ; } return text ; }
Wraps text by UCC (Unicode control characters) according to text direction
 In some cases defining the dir attribute in a different direction than the GUI orientation,
 changes the alignment of the text and/or adjacent elements such as icons.
Wraps text by UCC ( Unicode control characters ) according to text direction In some cases defining the dir attribute in a different direction than the GUI orientation changes the alignment of the text and / or adjacent elements such as icons .
//$NON-NLS-0$ //$NON-NLS-0$