Thread Rating:
  • 429 Vote(s) - 2.87 Average
  • 1
  • 2
  • 3
  • 4
  • 5
0xFFFF以降の文字表示について
11-02-2011, 12:13 PM, (This post was last modified: 11-02-2011, 12:16 PM by heavybugtracker.)
#2
RE: 0xFFFF以降の文字表示について
ヘルプに載っていると思いますが、 0xFFFF より大きい文字コードの場合、文字(char)としてコードを書く時に、次のように書きます:¥UXXXXXXXX(大文字Uの後ろに、8ケタの数字を書く、8ケタ未満の場合、頭を0埋め)

例:


Code:
{curl 8.0 applet}
{curl-file-attributes character-encoding = "shift-jis"}
{let (font-full-name:String, success?:bool)=
  {install-font-on-client
    {url "ipamjm.ttf"},
    ignore-exceptions? = false
  }
}

{pre
font installation:
  installed font name: [{value font-full-name}]
  install status: {value {if success? then "succeed" else "failed"}}
}
{hrule height=1pt}
SAMPLE TEXT FOLLOWED:

{set-document-properties
    font-family=font-full-name,
    font-size = 30pt
}


Character with code larger than 0xFFFF:
IPAmj明朝でコード|"\U0002A61A"|を表示:
{value '\U0002A61A'}


Messages In This Thread
RE: 0xFFFF以降の文字表示について - by heavybugtracker - 11-02-2011, 12:13 PM
Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('332')