Modify

Opened 4 years ago

Closed 3 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 4 years ago.
The fixed code

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by anonymous

The fixed code

comment:1 Changed 3 years ago by ebencheung

  • Owner changed from airadier to ebencheung
  • Status changed from new to assigned

comment:2 Changed 3 years ago by ebencheung

  • Resolution set to worksforme
  • Status changed from assigned to closed

comment:3 Changed 3 years ago by ebencheung

  • Resolution worksforme deleted
  • Status changed from closed to reopened

comment:4 Changed 3 years ago by ebencheung

  • Resolution set to fixed
  • Status changed from reopened to closed

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.