i have problem with image
the image with arabic filenames now showing after i move from old server to new server also i have the same with other server after the site move from subdomain to root doamin
i am looking for help to solve this problem
image not loading after changing the hosting
Re: image not loading after changing the hosting
Sounds like an inconsistent use of character encoding.
Check the following:
- The character encoding of the file system. When listing files in a directory, do the filenames appear correctly.
- The character encoding used in the web server could be different.
- In case some database is used for the web contents, are there any differences in the character encodings in the database? Is the character encoding for the database configured consistently?
Check the following:
- The character encoding of the file system. When listing files in a directory, do the filenames appear correctly.
- The character encoding used in the web server could be different.
- In case some database is used for the web contents, are there any differences in the character encodings in the database? Is the character encoding for the database configured consistently?
-
- Posts: 4
- Joined: 2021/02/08 22:40:01
Re: image not loading after changing the hosting
- The character encoding of the file system. When listing files in a directory, do the filenames appear correctly.
no the filenames not appear correctly the original name should be : ساحة-العلم-باكو-1.jpg but in file manager like this : #U0623#U0633#U0628#U0627#U0628-#U062a#U062f#U0641#U0639#U0643-#U0625#U0644#U0649-#U0632#U064a#U0627#U0631#U0629-#U062c#U0648#U0631#U062c#U064a#U0627-#U0648#U062a#U0628#U0644#U064a#U0633#U064a-1-100x100.jpg
- The character encoding used in the web server could be different.
how i can check this ?
- In case some database is used for the web contents, are there any differences in the character encodings in the database? Is the character encoding for the database configured consistently?
yes in database the filename of the image appear correct
no the filenames not appear correctly the original name should be : ساحة-العلم-باكو-1.jpg but in file manager like this : #U0623#U0633#U0628#U0627#U0628-#U062a#U062f#U0641#U0639#U0643-#U0625#U0644#U0649-#U0632#U064a#U0627#U0631#U0629-#U062c#U0648#U0631#U062c#U064a#U0627-#U0648#U062a#U0628#U0644#U064a#U0633#U064a-1-100x100.jpg
- The character encoding used in the web server could be different.
how i can check this ?
- In case some database is used for the web contents, are there any differences in the character encodings in the database? Is the character encoding for the database configured consistently?
yes in database the filename of the image appear correct
-
- Posts: 4
- Joined: 2021/02/08 22:40:01
Re: image not loading after changing the hosting
any help guys?
Re: image not loading after changing the hosting
#U0623#U0633 and so on looks like UTF-16, which is more common on Windows. Linux uses UTF-8. Is this filesystem mounted from some Windows host?
What is the value of your environment variable $LANG ?
What is the value of your environment variable $LANG ?
-
- Posts: 4
- Joined: 2021/02/08 22:40:01
Re: image not loading after changing the hosting
no sir the old hosting was also centos 7 with cwp7 pro admin panel
when i compress the site files from old site with file manger and move it to the new site this problem happened .. the original language is arabic lang
when i compress the site files from old site with file manger and move it to the new site this problem happened .. the original language is arabic lang
Re: image not loading after changing the hosting
Please take note of the following: viewtopic.php?f=12&p=278926#p278926
Since I have no clue how CWP is handling Arabic, there is little I can add to help you other than through the attention points I raised.
Since I have no clue how CWP is handling Arabic, there is little I can add to help you other than through the attention points I raised.