- #cat READERWARE | iconv -f UTF-16BE -t UTF-8 | cat
- #how to convert READERWARE UTF-16 Big Endian to UTF-8
- file = open('READERWARE','r', encoding='utf-16-be')
- line = file.readline()
- while line:
- print(line)
- # use realine() to read next line
- line = file.readline()
- Database Type: MySQL
- Login Name: loginname
- Password: pass
- URL: jdbc:mysql://localhost:3306/rwdb?serverTimezone=UTC
- Driver: com.mysql.jdbc.Driver
- Driver Location: /usr/share/java/mysql-connector-java-8.0.19.jar
- Script Location: /opt/readerware4/database/RW/mysql
Python read utf-16-be
Posted by Anonymous on Mon 17th Feb 2020 04:12
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.