Decode(2)
-
깨진 Hex Code decode 하기
깨진 문구Test \\xED\\x99\\x94\\xEB\\xA9\\xB4 \\xED\\x99\\x94\\xEB\\xA9\\xB4 !!decodeString input = "Test \\xED\\x99\\x94\\xEB\\xA9\\xB4 \\xED\\x99\\x94\\xEB\\xA9\\xB4 !!";// Sanitize the input to keep only valid hexadecimal charactersString decoded = decodeHex2String(input);System.out.println("Decoded String: " + decoded);public static String decodeHex2String(String input) { // A list to collect ..
2024.11.17 -
Django DB에 이미지 저장 및 가져오기
image_data = models.BinaryField(null=True) box.image_data = base64.b64encode(output.getvalue()) if self.image_data != None : return format_html("",self.image_data.decode('UTF-8'))
2021.02.11