Quote:
Originally Posted by Zakhar As I understand that only thing that doing this line is capitalize the first character of each word in string $massimageinfo['title'] and nothing anymore.
right? |
glad it worked out
Right.. it is not very friendly for foreigh characters..
You will find another problem.. (only appears sometimes). You can have strange charachters appearing at the end of some titles (in the preview images in browseimages or elsewhere). That error comes from the fact that strlen and strpos treat multibyte characters differently if you are in UTF8 or if you are in other charset. So if the strlen of a character does not point to the real end of a russian character, the character gets truncated in the middle of that character.. => strange sign.. but it only happens if the title is longer than the length you define, and if it is a multibyte character..
the fix for that is more complicated.. and it depends on your version of PHP...
I will post a fix for that in a week or 2.. (i am off on holiday tomorow and will only be back in 10 days) I will look into it then..
Quote:
Originally Posted by Zakhar Do you now where all developers? It's my second quetion for 2 days and you first who answer me (thanks again!). May be need ask somewhere else? |
Well first it takes time.. it is now only 6... AM where they are.. (here it is 3PM) so they will see your post in a couple of hours when they wake up
Luc
[EDIT] oooops as I said.. chuck got up... loool[/EDIT]