how to output file name in Hebrew in CodeIgniter?
I have a sys I have to build on CodeIgniter and one of the options is to export pdf from sys, i want the pdf to be in Hebrew letters e.g "שלום.pdf"
but for some reason it's not working for me, I get blank file name I have tried to change the encoding on the server to utf 8 and still no luck.
can anyone help our, encountered this issue, or has any directions i can look at?
help much appreciated!
Related
I have a docx document which was removed and then restored but text in this file looks like this
$ÄjŸÕ˚ˆw‹~µ2ÑCpW'ø¥:©°»xa"º¥ ∫ÓŒV!‰áOc‘Nü·è?ÒQºrΩg¬~í¬;Æzã\k˝E…$ën"‡Íâ
Is there are anything i could do with it?
I guess i need to change format from something to something but i don't know how and where?
Would be very grateful for any advices.
I was trying to look but i can't even find name of this problem
And how do i know what format is that ?
DOCX document are not plain text files !
You cannot just open open them an get the content. You have to open them up with a document editor that support docx files like Office Word or Libre Office Writer.
I'm working in a Google Sheet where I have contact information of the business. I also have another sheet where I have copied the information into CSV-friendly format.
When I download as CSV and import in MacOS contacts, my foreign characters don't play along.
Ø becomes "√∏"
Æ becomes "√¶"
Å becomes "√•"
Any idea to fix this? When Googling the issue all is pointing to "Unicode-8", but as far as I know Google automatically downloads as "Unicode-8".
In advance, thanks for any help.
The issue you are encountering is related to the MacOS Contacts Encoding and not to the Google CSV since Google Sheets exports to CSV using the UTF-8 encoding.
Therefore, in order to fix your issue, you should access this link and follow the steps shown in the Import from other file types section.
I looked for a solution to this but could not find an answer anywhere. I have a Question2Answer website in Cyrillic that displays the characters correctly in the browser, however, when I check the HTML source file, it looks like the text inside the question and the answer are displayed as &# numbers.
The characters on row 15 are not correctly displayed. As a result, when I try to edit a question/answer on my Android phone, the question or the answer is delivered with the encoding and it is not possible for the website users to edit their question/answer. (It still works on a computer but you can see that the characters are displayed wrong in the source file).
Please use this question on my website as a reference.
I tried to change the encoding via HtAccess:
AddDefaultCharset
UTF-8 DefaultLanguage bg-BG
However, this did not work. I am curious as to how to fix this problem. Any ideas or suggestions are more than welcome.
I have an issue of showing Chinese characters, look at these 2 pages.
http://www.wufangsingapore.com/instructor-junbeng.php
http://www.wufangsingapore.com/schedule.php
You will realised that the first link which I linked didn't have any issues with the Chinese characters while my second one is showing as ??? despite the fact that it is showing fine in cPanel. Both pages' charset in the meta tag are set to "charset=utf-8" which is supposed to be right. What could be the issue?
Both of them are just pure html, even though they are in PHP extension, they are not reading from any database.
Thanks!
WHile I didn't figure out what really happened.
This is what i did to make the chinese characters appear.
Open up the file in cPanel's File Manager and copy the whole chunk of PHP/HTML code onto the notepad
Save the notepad file as the file name again schedule.php
Reupload via Windows Explorer FTP.
I have a simple vb6 editor type application which has a richtextbox as the editor page. It allows users to key in stuff and the store it into a file which will keep all the text in RTF stored as CDATA in xml.
When you load back the file, it will read it off the xml and load back the rtf. We allow for unicode editing, but my problem is I have a user which is using Windows XP, and they have some problems reading the chinese characters. They show up as gibberish in their pc.
It displays fine in both mine and a coworker's. I've already checked that they have the proper regional language and settings in their system. The install files for east asian language is already checked. And they can see chinese words on websites and even type them out.
I feel like I'm missing something here but I'm at a lost on what to check next? Any ideas on what I could test or check next?
my bad for the poor description skills, if anything is not clear just ask me.
thanks.
~steve
That is weird. Try confirming that your user have the same version of RICHTXT32.OCX ?
Could be a problem with font?
Try using font that supports unicode characters (Arial Unicode).
Or try going to a website with chinese characters and paste it into richtextbox, save it to a file and try loading it from the file.
Does that work?
well they should because i packed the app in vs installer setup package.
and for fonts, it's sim sun, and i've already checked with the users that they do have the sim sun fonts under window/fonts.
Btw i've already updated that the data is actually stored in xml under CDATA, although the rtf chunk is kept as it is.
okie, this seems to be the solution although i don't know why. in my msi setup file i've included the riched.dll so when i installed it in, the dll acts up and screw up my chinese character in the richtext control.
but when i repack to exclude that dll file and reinstall using that setup, it seems to work now...