# -*- coding: utf-8 -*-
#?description=A sample script explictly specifying a UTF-8 encoding
#?shortcut=
from com.pnfsoftware.jeb.client.api import IScript
"""
Sample script for JEB Decompiler..
"""
class SampleScript(IScript):
def run(self, ctx):
# For non-ASCII characters, remember to specify the encoding in the script header (here, UTF-8),
# and do not forget to prefix all Unicode strings with "u", whether they're encoded (using \u or else) or not
print('~~~\n' + u'Hello, , , , !\n' + 'This line was generated by a JEB Python script\n~~~')