If there is unicode inside "sub diagram" the output is not ok. Just some à is shown. Also \n has problem. If \n is inside sub diagram it just shows \n and not new line.
@startuml
rectangle A [
{{
skinparam BackgroundColor #Transparent
rectangle FailCase [
**Fail Case**
----
åäöÅÄÖ
test 1\ntest 11
test 2%chr(10)test 22
test 3 %chr(10)test 33
]
}}
]
rectangle OkCase [
**OK Case**
----
åäöÅÄÖ
]
@enduml