Comments (5)
とりあえず edbi-bridge 側で回避するパッチを作ってみました。https://gist.github.com/1850059 です。
ただ、epc側で回避できるならそっちの方がいい気がします。
from emacs-edbi.
調査していただいてありがとうございます。epc側でいれる方向で考えます。
Perlはまだ初心者なので、Perlの utf8-flag について勉強してみます。
encode_utf8($_) if Encode::is_utf8($str);
という処理を AnyEvent に通す前に入れればいいのかな。
きっと往復で必要になるんですよね。うーん。
from emacs-edbi.
Perl側への入口と出口にEncodeいれてみました。
kiwanami/emacs-epc@35d4762
今までは、文字列がエンコーディング関係なしでバイト列で扱われていて、たまたま全員UTF8になっていたから動いていたのかなという理解です。
手元の SQLite, Pg では日本語を含めて動いているみたいなのですが、ちょっと自身が無いです。
まだ、あんまり使ってる人が居ないようなので shipit してしまおうかな。
from emacs-edbi.
動作確認しました。手元の Oracle では動いてるみたいです。日本語の条件も大丈夫。
エンコーディングに関しては僕も Perl に詳しくないのでなんとも。多分そいう理解であってるんだとは思いますが。
この issue は閉じちゃってもいいのかな。
from emacs-edbi.
すいません。わざわざ確認してもらってありがとうございます。
まだまだバグがいっぱいありそうなので、とりあえずこれは一旦閉じます。後ほどCPAN更新しておきます!
from emacs-edbi.
Related Issues (20)
- Unable to save query editor file content to file. HOT 9
- can you remove auto-complete dependency? HOT 8
- Is it possible to store the connection details? HOT 1
- How configure edbi to stay in the query window? HOT 8
- Change the window-title edbi:query-result without number HOT 1
- Multiple queries possible? HOT 2
- Can't install from melpa-stable HOT 3
- No rows shown in result for SQL Server query with ntext column
- I can't connect mysql database HOT 1
- Query returns nil when value is 0
- A way to connect to other not SQL dbs?
- add two tips HOT 1
- Cannot open a sqlite database that has been created using WAL mode HOT 2
- make emacs-edbi aware of local::lib installations of RPC::EPC::Service and DBI modules HOT 2
- Selected row colors in Emacs dark modes?
- Quoting tables
- Does your library have functions for reading columns directly from the sql results into elisp? HOT 1
- Add connection bookmarks/names
- Export the query results
- Query execute does not return?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs-edbi.