Giter Site home page Giter Site logo

Comments (5)

buzztaiki avatar buzztaiki commented on July 28, 2024

とりあえず edbi-bridge 側で回避するパッチを作ってみました。https://gist.github.com/1850059 です。

ただ、epc側で回避できるならそっちの方がいい気がします。

from emacs-edbi.

kiwanami avatar kiwanami commented on July 28, 2024

調査していただいてありがとうございます。epc側でいれる方向で考えます。
Perlはまだ初心者なので、Perlの utf8-flag について勉強してみます。

encode_utf8($_) if Encode::is_utf8($str);
という処理を AnyEvent に通す前に入れればいいのかな。
きっと往復で必要になるんですよね。うーん。

from emacs-edbi.

kiwanami avatar kiwanami commented on July 28, 2024

Perl側への入口と出口にEncodeいれてみました。
kiwanami/emacs-epc@35d4762

今までは、文字列がエンコーディング関係なしでバイト列で扱われていて、たまたま全員UTF8になっていたから動いていたのかなという理解です。
手元の SQLite, Pg では日本語を含めて動いているみたいなのですが、ちょっと自身が無いです。

まだ、あんまり使ってる人が居ないようなので shipit してしまおうかな。

from emacs-edbi.

buzztaiki avatar buzztaiki commented on July 28, 2024

動作確認しました。手元の Oracle では動いてるみたいです。日本語の条件も大丈夫。

エンコーディングに関しては僕も Perl に詳しくないのでなんとも。多分そいう理解であってるんだとは思いますが。

この issue は閉じちゃってもいいのかな。

from emacs-edbi.

kiwanami avatar kiwanami commented on July 28, 2024

すいません。わざわざ確認してもらってありがとうございます。
まだまだバグがいっぱいありそうなので、とりあえずこれは一旦閉じます。後ほどCPAN更新しておきます!

from emacs-edbi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.