I'm trying to read a SQL database and show some information on a tkinter label, but the character 'ã' is being displayed as '?'. How to fix this?
This is the code I used:
from sqlalchemy import create_engine
oracle_connection_string = 'oracle+cx_oracle://{username}:{password}@{hostname}:{port}/{database}'
engine = create_engine(
oracle_connection_string.format(
username='xxx',
password='xxx',
hostname='xxx',
port='xxx',
database='xxx',
)
)
string_find_table = """ SQL View """
data = pd.read_sql(string_find_table, engine)
