krakjoe / ustring

UnicodeString for PHP7
Other
64 stars 7 forks source link

API inspired by Hoa\String #8

Closed Hywan closed 10 years ago

Hywan commented 10 years ago

Hello :-),

The Hoa\String library provides a class, called Hoa\String\String, that helps to manipulate UTF-8 strings. Its API has been designed during several months. It could be a source of inspiration for your work.

If you want some clarifications, ping me.

Hywan commented 10 years ago

Love the explanation.

pierrejoye commented 10 years ago

yes... Communication is hard lately...

On Sat, Aug 23, 2014 at 9:44 AM, Ivan Enderlin notifications@github.com wrote:

Love the explanation.

— Reply to this email directly or view it on GitHub https://github.com/krakjoe/ustring/issues/8#issuecomment-53145730.

Pierre

@pierrejoye | http://www.libgd.org

krakjoe commented 10 years ago

@Hywan sorry, I wasn't being rude. This isn't a bug so I closed the issue, I of course scanned through your suggestion, it's much more complex than what I'm trying to do at this time.

You might be interested to know the API chosen wasn't made up from thin air, some time ago Nikita Poppov developed the idea of scalar methods, along with it, he developed what he thought was a nice string API for PHP, I used this API as the basis for this work.

None of that says that we won't want a more advanced API, but for the moment we are trying to keep it simple and concise, we intend to support multiple backends, ICU/native windows API at least are being worked on.

Thanks for input, didn't mean to come across as rude, was just doing housework :)