Skip to Content
avatar image
Former Member

How to control the output lenth for chinese character?[Needs your help]

Hi Experts,

I created a form in Chinese [zh], and there's a field to show the discription of account. For English charaters, the field lenth is 50 characters, but now there are some records of the description[Chinese characters] in the table also have 50 records. Normally , one Chinese character's bit is double of an English charater.

but in our system doesn't like this.

So , how can I control that all the character's show the leargest lenth all the same? (50 charaters).

it like this:

This is a test for showing the records diffrences

&#36825;&#26159;&#19968;&#20010;&#27979;&#35797;Form&#30340;&#35821;&#21477;&#65292;&#27979;&#35797;&#21253;&#21547;&#20197;&#19979;&#20869;&#23481; <b>&#65306;&#30495;&#30340;&#65292;&#20551;&#30340;</b>

not show the block words '<b>&#65306;&#30495;&#30340;&#65292;&#20551;&#30340;</b>'.

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Jul 26, 2007 at 03:26 AM

    Use offset, with your variable.

    Ex: &Variable(50)&

    Regards,

    Sairam

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 26, 2007 at 03:42 AM

    hi Sairam, thanks for your reply, I had tried like you said, but that doesn't work.

    if I set it sas &...(50)&, if the words is Chinese, it will show 50 Chinese words, but 50 Chinese is much longer than 50 English charaters.

    Thanks.

    Add comment
    10|10000 characters needed characters exceeded