Problem Displaying New Line Character on Phones 7942/7962

Version 1

    Subject: RE: Problem Displaying New Line Character on Phones 7942/7962
    Replied by: Jeffrey Ness on 03-05-2011 03:01:53 PM
    I think you will find the new lines are supported on the 7900 phones fine (but the 6900 and 9900 phones are a different story...)  What you are seeing sounds like the entry violates the schema length.  From the Cisco_IP_Phone_Services_XML_Schema_(XSD) file it shows the Name element of the DirectoryEntry type has a maximum length of 32 characters.  Some phones will truncate excess and show this as "..."  All of this is phone load dependent for the schema enforcement and XML parsing.
    This document was generated from CDN thread

    Created by: Lalit jairath on 03-05-2011 02:36:08 PM
    We have started finding issues in our Directory Application with "\n" on new phones 7942/7962 when upgraded Call Manager from 4.1(3) to 7.1(5). 

    What we have started seeing is that on 7942/7962 the value of "Name" tag for the "DirectoryEntry" tag gets truncated to the following with the last three characters "ath" replaced by "..."

    - <DirectoryEntry>
    <Name>Lalit Jairath Communicati...</Name> 
    <Telephone>58754</Telephone> 
    </DirectoryEntry>

    Note: the name on the phone screen should display as "Lalit Jairath Communications". The <Name> is coded as "Lalit Jairath" + "\n" + "communications". On phones 7942/7962 the Name below is displayed as intended:

    - <DirectoryEntry>
    <Name>Lalit Jairath 
    Communications</Name> 
    <Telephone>58754</Telephone> 
    </DirectoryEntry>


    However, "\n" still works for both 7940/7960. 

    Phone firmware for 7940/60 is 8.1(2) and for 7942/62 is 9.1(1).

    Does anybody experience the same and have any clue.

    Thanks.
    Lalit

    Subject: RE: Problem Displaying New Line Character on Phones 7942/7962
    Replied by: Lalit jairath on 09-05-2011 01:52:46 PM
    Thanks, Jeffrey for your prompt response.

    What I want to do is insert a 'new line character' after first/last name as in the following so that the name of the department (Computing) appears on its own, separate line:

    Lalit Jairath + '\n'
    Computing

    Is there a way to do it? [This is less than 32 chars]. As I mentioned the new line character and the name of department on its own line works fine for 7940/7960 phones.

    Look forward to..

    Thanks.
    Lalit