LatestNews+

Yes? it's the same. :(

12 years 1 month ago #7 by Antar

Please Log in or Create an account to join the conversation.

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

Please Log in or Create an account to join the conversation.

Thousand pities... The news mod can be limited to the date and title, but MiniFrontPage doesn't, unfortunately.

by the way, can i know your language?


Russian. I mentioned somewhere above.
12 years 1 month ago #9 by Antar

Please Log in or Create an account to join the conversation.

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.

Thank you for your awesome feedback

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
12 years 1 month ago #11 by ronysyz

Please Log in or Create an account to join the conversation.

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?
12 years 1 month ago #12 by Antar

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum