データベース ツールボックスアプリの文字化けの解消法について
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
DataBase Toolboxを用いてPostgresで作成したデータベースに接続しています。
その際に、日本語で表示されるはずの箇所が文字化けしています。
どのようにしたら解消することが可能でしょうか。
MATLABのVer:2020b
よろしくお願いいたします。
2 commentaires
Réponse acceptée
Kojiro Saito
le 3 Fév 2021
PostgreSQLのドライバー(NativeまたはJDBCなど)の接続オプションに、「client_encoding」、「SJIS」を付けてDBに接続し直してみたら解消すると思います。
エンコードの値はPostgreSQLのドキュメントにあります。
日本語だと、SJIS、EUC_JPあたりのエンコードが良いかと思います。
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur App Designer を使用したアプリ開発 dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!