Modify

Opened 13 years ago

Closed 13 years ago

#8351 closed defect (fixed)

Chinese characters cause UnicodeEncodeError

Reported by: anonymous Owned by: ebencheung
Priority: high Component: PlantUmlMacro
Severity: normal Keywords: unicode
Cc: Trac Release: 0.12

Description

Just like following:

{{{
#!PlantUML
@startuml
张三 -> 李四: Authentication Request
@enduml
}}}

The Chinese characters should cause UnicodeEncodeError.


I change the source macro.py(see attachment, line 38 and 55), for your reference.

Attachments (1)

macro.py (3.1 KB) - added by anonymous 13 years ago.
The fixed code

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by anonymous

Attachment: macro.py added

The fixed code

comment:1 Changed 13 years ago by ebencheung

Owner: changed from Álvaro Iradier to ebencheung
Status: newassigned

comment:2 Changed 13 years ago by ebencheung

Resolution: worksforme
Status: assignedclosed

comment:3 Changed 13 years ago by ebencheung

Resolution: worksforme
Status: closedreopened

comment:4 Changed 13 years ago by ebencheung

Resolution: fixed
Status: reopenedclosed

I don't know how to commit my changes to trac-hacks by svn, svn --username=myName ci always complain "403 forbidden"

so I commit my changes to https://github.com/ebencheung/TracPlantUmlPlugin

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain ebencheung.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.