Language dependency of line break

[] [] []

Symptom
Line break behaviour depends on logon language. Line break happens in English texts in the mid of a word when logged on with an Asian language.
Other terms
TEXT_SPLIT, SCP_LINEBREAK_UTIL, STRING_SPLIT_AT_POSITION
Reason and Prerequisites
In European languages line break usually happens at the space which separates words. In Asian languages line break usually can happen between any characters within a word.
When text from Asian languages are mixed with English or English texts occur while logged on in Asian language users would prefer to have the line break in the English parts of the text according to European rules (line break at space, not within a word) but this is not supported.
Solution
It is currently a restriction of SAP standard that line break is applied according to the rules of one language.
Behaviour of function module TEXT_SPLIT always depends on the logon language, for class SCP_LINEBREAK_UTIL it is possible to define the used language at runtime (default is the logon language).

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment