Trac

让Trac PlantUML Plugin支持汉字

由 非洲饿鱼 于 星期五, 07/15/2011 - 18:34 发表


source =  args.encode("utf-8")
cmd = "java -jar -Djava.awt.headless=true \"%s\" -charset UTF-8  -pipe" % (self.plantuml_jar)
 
{{{
#!PlantUML
@startuml
skinparam defaultFontName simsun
软件 -> Bob: Authentication Request
Bo汉字b --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
@enduml
}}}

同步内容
Drupal theme by Kiwi Themes.