How split chinese text

Hi All,
Can I know how to split the text as below example which may contain chinese text , special chars or text in alphabet? These text may contains double-byte chars and single byte char. How I split out the text if I need to display 11 chars in first line and another 11 char to second line of report. In below text it contains total 14 bytes.
Eg: 承运SAP 商, 运运
    (2 bytes)(2 bytes)(1 byte)(1 byte)(1 byte)(2 bytes)(1 byte)(2 byte)(2byte) = total bytes equal 14 bytes.

Hi Bluesky,
if you are on ECC600 or above, you are on unicode anyway unicode, thus characters are stored double-byte anyway. In my count, the below sequence will be 22 bytes.
u627Fu8FD0SAP u5546, u8FD0u8FD0
u627F - 2 bytes
u8FD0 - 2 bytes
S - 2 bytes
A - 2 bytes
P - 2 bytes
<space>  - 2 bytes
u5546 - 2 bytes
, - 2 bytes
<space>  - 2 bytes
u8FD0 - 2 bytes
u8FD0 - 2 bytes
You'd better try in ABAP test program and see what results you get.
Kind regards,
Clemens

Similar Messages

  • How do I copy and paste Chinese text into InDesign CC?

    I am having difficulty copying and pasting pre-translated Chinese text into InDesign.
    Many of the characters are coming up as boxes in the majority of Chinese fonts offered in CC.
    马修斯旅游大巴租赁公司
    爱尔兰和英国之旅
    translates as
    Font used above is Apple LiSung
    I have tried to import via Apple Text Edit and format stripped the text.

    That's happening because you have Simplified Chinese text, and are attempting to use a Traditional Chinese font.
    Ellis suggests a well-made Adobe font with Trad support. If you pull down your font dropdown and scroll towards the end, you'll find fonts split into categories according to language support. The one with Apple LiSung is the Simplified category, and the one with Adobe Fangsong is the Trad category. Pick any font from that category - but know that the style of font you pick in Chinese means as much as the style of font you pick in English, and if you don't know what the conventions are, you may well choose one not entirely suited to your audience. (One of my translators likened the Chinese font choices of monolingual Anglo designers to "seeing the body text of my How To Use Your Health Care Benefits brochure laid out in Rosewood.")

  • How to split a text in two parts?

    Hello everyone,
       I'm trying to make a text appearance, with a smilar effect as the one in this video (1 mn 43) :
    After Effects Template : 65 Title Animations - YouTube
       My problem is, I'd like to split my text in two parts, at the middle of a letter, so I can separate the text in two parts then gather it up at the end of the animation.
      I've tried to take a look at the text's animation tool, where you can make it spin, or rotate and this kind of stuff, but I can't find out how to make a letter really split at its middle.
    Thank you in advance and sorry for my english.

    Duplicate your text layer and mask.

  • How to print text in English & chinese lang in the same window in smartform

    Hi All,
    My requirement is in the Smartform for few windows i need the text in the English Language as well as corresponding Text in chinese Language.
    For Eg                               Buyer:                         
                                             需方:                         
                                            Address                         
                                            地址:                         
                                            Contact:                         
                                            联系人:                         
                                           Tel:                                     Fax:          
                                           电话:                                                  传真          
                   I need only the corresponding  Labels to be converted to  the chinese language.  Please let me know how this can be done.
    Thank you.

    Hi Vasudha,
    You maintain the English & chinese text in different standard text using SO10 in different languages.
    Then include these texts in your smart forms.
    The  process to include these texts :
    Right click on the node=>create=>text=>choose the type as Include text.
    Text Name         <The standard text created in SO10>
    Text Object       TEXT
    Text ID           ST
    Language          <Language>
    Regards
    DKS

  • How to extract Chinese text from font embedded text PDF?

    This is actually font embedded text PDF (Used: type 1 fonts & custom encoding) and not scanned PDF, however I am unable to extract the "Chinese language" text properly and found only the garbled text when "Copy & Paste" (or save as RTF). Kindly refer the sample PDF attached for your reference.
    Kindly advise how could I solve this problem.
    Thanks in advance for your better solution.

    As I was unable to upload the sample page PDF in my original thread, I have shared now in the following path. Kindly look into this and guide me how to extract the chinese text as UNICODE text.
    Downloading: Chinese_Text_Extraction.pdf - Uploadingit

  • How to Create a KM folder using Chinese text??????

    Hi All,
      How to Create a KM folder using Chinese text??????
    Plz help..
    Regards,
    Krish.

    Hi Julian,
      Frankly speaking, i donot know how to proceed!
      we have developed a UICommand (myCopyCommand). As per our requirements, we want to create a KM folder using Chinese text. And see how the copy command works across two different Chinese folders.
      I never tried creating KM folder's in another language.
    Can you please guide me in this regard.
    Waiting for your reply,
    Krish.

  • How to split header text in table view to 2 lines?

    Hello,
    I have a table view that has many fields. There are fields with long header text.
    Is it possible to split the text and have it on 2 lines?
    Foe exsamle: instead of 'ORDER NUMBER'  --->  ORDER
                                                                                 NUMBER
    Thanks,
    Sara

    Hello Sara,
    You can do that using line feed.
    Implement the following code.
    data: lv_constant type string value 'CRM ORDER'.
    data: lv_constant1 type string.
    data: lv_constant1 type string.
    split lv_constant at ' ' into lv_constant1 lv_constant2.
    CLASS cl_abap_char_utilities DEFINITION LOAD.
    lv_linefeed = CL_ABAP_CHAR_UTILITIES=>CR_LF.
    clear lv_constant.
    concatenate lv_constant1 lv_linefeed lv_constant2 into lv_constant.
    I hope this works.
    Thanks
    Vishal

  • How to read chinese text in Quickoffice

    I wish to know if there is any plugin that allows me to read chinese text (preferably in UTF-8 or UTF-16 encoding) in Quickoffice.
    There also don't seemed to be a free ebook reader that supports both english and chinese encoding.
    Anyway knows anything at all, please help. Thanks

    Use Read_text function module.
    you need to pass
    ID
    LANGUAGE
    NAME
    OBJECT   to the function moduel
    To find the Text id name language and object these are the following steps. Example: FB02
    1. goto FB02, Enter Document number
    2. from menuselect Goto>Header-->header Text..... New window will be displayed 
    3. select the Header Text. here you can see all the text. 
    4. click on the TEXT (which you want to know the Text id) , then press log ICON (you can find in bottom right of the text window) it looks like a rolled paper. 
    5. in the Next window you will find Text Name. Text ID, Language. etc...
    Regards,
    Lalit Mohan Gupta.

  • How to display/input/write Chinese Text in java

    Dear All,
    I am trying to make a very simple java program, where I am trying to display Chinese characters. I am trying to save them into a file (for now, later into db2). However, I seem to make no progress at all.
    I am completely lost with this one. I have googled and gone through a lot of sites like :
    http://www.mandarintools.com/javaconverter.html
    http://www.chinesecomputing.com/programming/java.html
    http://forum.java.sun.com/thread.jspa?threadID=442220&messageID=1995079
    http://www.linuxforum.net/chinese/develop/java.html
    I have downloaded the cyberbit.ttf into /jre/lib/fonts and updated the fonts.properties also.
    I have tried to compile with two different encoding options big5 and gb2132 as well.
    I have also tried to pick up a few unicodes from a site and tried .. for ex.
    String s = "\U+0061";but this results in Illegale Escape Char. exception.
    All I am trying to do is use a String reference, feed it with Chinese text, which again I copied from a site, and then display it on the console. Or even write it to a file.
    I am lost in the maze of Unicode, UTF -8 etc.
    I would be really glad if someone could lead me out of this.
    Thanks in advance.
    Rgds,

    Hi,
    So I tried to actually start working on the web app where this change is intended.
    I copied a chinese String from a website (pasted it in Word, and it pasted fine).
    Pasted it in the text box and saved this field. The value appears gibberish in db2 ( I am sure the tables arent specified for UTF-8).
    My app doesnt use any contentType or characterEncoding either.
    Then when I retrieve this value, it comes as exact same gibberish as in DB.
    But, behold, when I change the encoding (view -> encoding -> chinese (GB2312)) It displays the exact String that was inserted :-)
    Then I add these lines in my Jsp.
    <%@ page contentType="text/html; charset=GB2312" %>
    request.setCharacterEncoding("GB2312"); .
    so that I can make that chinese GB2312 as the default option. It does that. (The default was Western European (ISO).
    However now, it displays question marks (????) in that field.
    What options can I have ?
    TIA

  • How to display TEXT more than 500 char in a report as multiple lines.

    Hi Friends,
    i have a requirement like i should display Texts of length more than 500 Characters in a report( ALV LIST) as multiple lines
    I am fetching the data Using FM READ_TEXT
    the output im currently geeting with 150 Char in lenth as a single line
    How we can split the text into multiple lines in a report
    first i would like to know is it possible? if possible please give your valuable suggitions if not is there any alternative way to do this task.
    Thanks & regards
    kumar.

    Hi,
    This is possible but the Solution might not look Standard/Appropriate to you.
    In ALV, you can have Multiple Line Output...There is a Field in the Field Catalogue..called as Row_position...this is by default 0...which means Single row/Line ALV output....You can have this Value in the Range of 0 to 3.......A ALV field with row_position 1, will be displayed in the second line for every record...i.e. you will have multiple line for a single record of ALV.
    In your case......you can use this but you need to split your field in two fields.....but you may end up spliting a single word....but for that also you can design the logic of splitting the Fiel value at SPACE only......
    This may work.......and Sorry if not work......

  • Chinese text while downloading to excel

    Hello Everyone,
    I have one alv report in which text is coming into Chinese language.
    When i download my alv data to excel, chinese text is getting converted into #### characters.
    Anyone having idea how to download the chinese text from alv into excel.
    Thanks in advance.
    Regards,
    Tarun

    Hi,
    When you download in Excel, the character formats are taken from the Front end, besure that the chinese font is installed in your system, i.e. you OS should support the lanagugae format you are downloading to.
    Hope It Helps
    Anirban

  • Printing chinese text in a smartform.

    Whenever, I try to write chinese text in the smrtform, some weird characters appear. How can I paste chinese text in the smartform. Please provide me a solution.
    Moderator message: please do some research before asking.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    Edited by: Thomas Zloch on Feb 28, 2011 9:21 AM

    Please check with your basis that your output device support print Chinese character. Or, you can search more in forum, there are a lot of threads about print Chinese and other Unicode characters in form.
    Thanks,

  • Split item text

    Hi,
    I am working on scripts, I want to print the item text, suppose for line item 10 the item text
    u201Cthis is test item created by meu201D .
    In the output it is coming like the same manner.
    But we want the alignment as mentioned below .
    u201Cthis is test item
    created by meu201D
    can anybody please guide me how to split this text.
    Thanks in advance,
    Deeepa Kulkarni

    Hi,
    May you can try in 2 ways,
    1- If it is printed in secondary secondary then  adjust the window so that text breaks and  prints in 2lines.
    2-Oresle split the text into 2 variables then print  them.
    Please close, if the issue is solved,
    Thanks,
    Aditya

  • Cannot display chinese texts in info package

    How to solve that replaced chinese texts as ###### in infopackage
    appreciate for help

    Hi Jeff,
    Are you using a unicode system? I guess that the R3/ERP system is unicode?
    BR
    Stefan

  • Download chinese text from internal table to PC text file

    Hi Experts,
      Iam downloading internal table (which is having records in chinese text) on to PC file. But the iam not getting correct text in the pc file. Iam getting some garbage values text.
    Iam using GUI_download FM to donwload the text.
    Iam using internal table
    Begin of itab occurs 0,
    text type string,
    end of itab.
    and passing paramters.
    Filename
    codepage
    table.
    Can you please tell me how can I achive this and what are the parameter need to pass for this.
    Thank In Advance.

    Hi,
    You can use follwoing  funtion modules instead of GUI_DOWNLOAD. It will be more easier.
    SAP_CONVERT_TO_CSV_FORMAT
    SAP_CONVERT_TO_TEX_FORMAT
    SAP_CONVERT_TO_TXT_FORMAT
    SAP_CONVERT_TO_XLS_FORMAT
    SAP_CONVERT_TO_XML_FORMAT.
    I hope this will help you out.
    Help children of U.N World Food Program by rewarding  points and encourage others to answer your queries.

Maybe you are looking for

  • JTA timeout while calling a stored procedure inside a DB Adapter

    Hi All, I am wondering if there is a way to increase the timeout interval for the DB Adapter at the BPEL process level than at a global level. Thanks,

  • Presets in Premiere Elements 7

    I have just recorded my first video on my Sony HDR-XR500V. I want to transfer my video from the camera to my computer using Pre 7. To open a project I must set the presets. My camera specs do not match the choices in Pre7's box i.e. my camera capture

  • How can I sequence non-threaded text frames for localization?

    Is there any way to sequence non-threaded text frames? I want the text to appear in order in SDL (translation software). Thanks all. RR

  • GRC AC V10 - GRAC_SERVICE agent

    Hi experts, it exists two standard agent rule (GRAC_SECURITY und GRAC_POINT_CONTACT). But where can I define the several users for each agent? The rule IDs (numbers, only names) aren't available so that we can have a look into the brfplus details. Th

  • Please help with javascript issue

    Hi all, So ive got this piece of javascript - $("#verse_inscriptions").on("change", function() {     var verse = $(this).children("option:selected").val();     if(verse != "0") {         $("#textarea").val($("#textarea").val() + " " + verse);