How to make single-byte char to take width same as double -byte char

Discussion in 'HTML & Website Design' started by haibing, Oct 23, 2008.

  1. #1
    We have a web site in english, and now we also support other languages, such as Chinese, Korean,etc. However, currently we have not the text in double-byte language. So now we wanna make one single-byte char take the space same as double-byte char so that we can make some simple test. Anyone know how to make it?:p

    Thanks
     
    haibing, Oct 23, 2008 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    The width of the character is not a function of the number of bytes in the encoding. It is strictly related to the font size and the glyphs used.

    cheers,

    gary
     
    kk5st, Oct 23, 2008 IP
  3. QiSoftware

    QiSoftware Well-Known Member

    Messages:
    805
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    158
    #3
    Did you try a fixed-width character set?

    Q...
     
    QiSoftware, Oct 23, 2008 IP