## # encoding:

This isn't strictly a PMD field, but inherited from Python/Ruby.

 #!/bin/python
# encoding: utf-8
# api: …


It's not exactly a coincidence that it fits well with the rest of plugin meta data fields. It must be the first comment line after the shebang however.