LatestNews+
- Posted by Antar (8) Offline
- Posted by ronysyz (191) Offline
mmm.... not really sure why this can be happening
actually, I found this case (non-english symbols,... actualy those are multibyte symbols) few months ago. and basicly to make multibyte functions are working in PHP, we need to use mb_substr.
so.... for this time, i really have no idea for this issue
i'm really sorry...
P.S
by the way, may i know your language?
12 years 1 month ago #8
by ronysyz
actually, I found this case (non-english symbols,... actualy those are multibyte symbols) few months ago. and basicly to make multibyte functions are working in PHP, we need to use mb_substr.
so.... for this time, i really have no idea for this issue
i'm really sorry...
P.S
by the way, may i know your language?
Please Log in or Create an account to join the conversation.
- Posted by Antar (8) Offline
Thousand pities... The news mod can be limited to the date and title, but MiniFrontPage doesn't, unfortunately.
Russian. I mentioned somewhere above.
12 years 1 month ago #9
by Antar
by the way, can i know your language?
Russian. I mentioned somewhere above.
Please Log in or Create an account to join the conversation.
- Posted by Antar (8) Offline
Hmm. May be this happen because script working with multibyte symbols but output is one-byted? Sure, it's so. In options there is "Limit intro text" item with 200 value, but I see only near 100 characters! Not 200 or around that value.
12 years 1 month ago #10
by Antar
Please Log in or Create an account to join the conversation.
- Posted by ronysyz (191) Offline
Thank you for your awesome feedback
I have tried it and when i set as 200, i get 200 in my intro text, also when i set 250, i get 250 too
By the way, if your introtexts are not about 200 or just 100 chars, you will get 100 chars when you set 200
12 years 1 month ago #11
by ronysyz
there is "Limit intro text" item with 200 value, but I see only near 100 characters! Not 200 or around that value.
I have tried it and when i set as 200, i get 200 in my intro text, also when i set 250, i get 250 too
By the way, if your introtexts are not about 200 or just 100 chars, you will get 100 chars when you set 200
Please Log in or Create an account to join the conversation.
- Posted by Antar (8) Offline
I have tried it and when i set as 200, i get 200
You write in English. It's output as one byte per character. If you write in Russian (or mixed, latin and cyrillic letters) it will output as two bytes per character and thus it turns to 100 from 200. See examples below. Everywhere into text limit is 200.
English alphabet, latin letters
Just digits
Russian alphabet, cyrillic letters
Now see what I'm saying?
Please Log in or Create an account to join the conversation.