« first day (4242 days earlier)      last day (688 days later) » 

12:49 AM
I do not underastand....are mb* string functions intended for languages like japanese for example where then language has many letters?
 
@DimitrisPapageorgiou you almost certainly want to be using utf-8 for anything related to the web, or modern computers, as supporting emoji, or any non-ascii characters is needed. the mb string functions work nicely with any utf-8 strings.
 
currently I use non-mb string functions in my scripts,,what is the problem w that?
I suppose mb* string functions- as you said- are needed for not-ascii chars.emoji
 
@DimitrisPapageorgiou 3v4l.org/aNCiT
strlen could possibly be renambed to bytelength
 
why this happens?
 
£ is this char - which is the bytes 0xC2 0xA3
 
1:04 AM
OK it takes more than one byte for storing into memory...
so...if chars occupy more than one byte I should use mb* functions...am i correct?
 
@DimitrisPapageorgiou if it's stuff like length of a file on a disk, then use the normal strlen. If it's text going to be shown to a user, then use mb. And probably check:
1301
Q: UTF-8 all the way through

mercutio I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1. Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQ...

 
it seems confusing...I will dig into it more
 
1:19 AM
@Danack lol I love it. makes me think of the pachelbel rant for some reason
 
1:46 AM
all this time I ve been using strlen without knowing that the result is based on the number of bytes of the chars....IT would created a bug somewhere along the way in my codebase and I would not be able to explain it...it would cause headach to find
 
computers_were_a_mistake.jpg
 
 
4 hours later…
6:14 AM
Hello
I have a problem in laravel sessions. Can anybody help me ??
 
6:49 AM
Hello
anyone know woocommerce subscription rest API ?
I want to change subscription product using REST API
 
 
3 hours later…
9:49 AM
Thank you for this summary. A general feeling I had when reading these threads is that many concerns are about problems that would exist only if capture was by-ref or by-val. Cited issues include side-effects, global-like behavior, javascript headaches.

Should we insist more on the fact that capture is by-value, and the problems that exist in javascript for example would not exist here ?
(replying to @IMSoP) (I don't know why sometimes the reply feature will @, and sometimes it will not)
 
@ArnaudLeBlanc StackOverflow removes the @ when adding a line break to the message. Don't ask me what the reasoning is for that.
 
@IluTov Ah, thank you. At least there is some determinism, then :D
 
But you should get pinged anyway I think.
 
 
1 hour later…
11:15 AM
morns
 
 
2 hours later…
1:05 PM
Hello
anyone know woocommerce subscription rest API ?
I want to change subscription product using REST API
 
 
6 hours later…
7:21 PM
@NikhilHadvani you're not likely to get a response, your question is too general. Include what you've tried, code snippet on a pastebin site, error message, etc
@NikhilHadvani In other words, don't ask to ask, ask your question. Put some effort into it. Don't spam.
Otherwise pay someone to do it for you.
 
Wes
oh wow, will github discussions send SE to the grave?
i suppose they dont even care since both are owned by ms (are they?)
 
Wes
7:47 PM
:O completely missed that
also hi \o how are you folks doing
 
Wes
all normal then :B
 

« first day (4242 days earlier)      last day (688 days later) »