Self re-encoding interpreted application
Abstract:
A method for self re-encoding an interpreted application includes parsing a string of characters in a comment section of the interpreted application file. Responsive to determining that at least one character of the string of characters is not readable by the target platform, the processor re-encodes the interpreted application file using the string of characters in the comment section. The re-encoding includes parsing a first character in the string of characters. The processor then, optionally, outputs a warning message indicative that a non-native encoding exists in the interpreted application file. The processor parses a second character sequential to the first character. The second character is a first element in a second string of characters indicative of a re-encoding scheme for re-encoding the interpreted application. The processor then outputs a re-encoded application file that is executable by the processor of the target platform.
Public/Granted literature
Information query
Patent Agency Ranking
0/0