softpiano
Forum Replies Created
-
No problems. Wrote it! Thank you again!
BINGO.
Ewout, i’ve downloaded a Sublime Text editor. When saving a file i got a message: “Not all characters are representable in Western (Windows 1252), falling back to UTF-8.”Then uploaded to server and bingo, i can see the LT characters.. ?? Even no need for htmlspecialchars. Do you have any idea of why did the file keep writing it as Western?
Anyway, thank you for your help. Really. You are great!
I’m using a simple Notepad. What would you recommend? Maybe i could send you my invoice.php file somehow and you could try my file on your platform..? would be interesting if it would work on your side.. if that sounds ok write me to softpiano (eta) gmail com.
Strange. I can see both words when they are test1 and tes2, but when i input text with LT characters, this line is not shown at all..
Ewout, let me tell you that i’m really thankful that you are helping me on this matter. I appreciate your help. I really hope we’ll be able to sort this thing out. Amazing plugin all in all!
Yes but the line is not represented on the document.. nothing appears in that place when using this line.
`<?php echo htmlspecialchars(‘Visi ?mon?s gimsta laisvi ir lygūs savo orumu ir teis?mis. Jiems suteiktas protas ir s??in? ir jie turi elgtis vienas kito at?vilgiu kaip broliai.’); ?>- This reply was modified 7 years, 9 months ago by softpiano.
Does not work.. the line is not represented in the document.. tried with $str as well..
P.P.S. Just to make it clear: There is no problem for example with a product description name. It shows LT characters. But the problem with LT characters is when i edit the invoice.php file and add my custom text there with echo comand, or change the title manualy (document-type-lable ‘Invoice’), o change other text like ‘Invoice Number:’.. I guess that gives better view of my problem.. I’m working under my child theme and custom invoice tempate.
P.S. And i was confirmed by a hosting provider, that MB String is installed and enabled.
I can see this information about MB String:
Multibyte Support: enabled
Multibyte string engine: libmbfl
HTTP input encoding translation: disabled
libmbfl version: 1.3.2
oniguruma version: 5.9.6
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input no value no value
mbstring.http_output no value no value
mbstring.http_output_conv_mimetypes ^(text/|application/xhtml\+xml) ^(text/|application/xhtml\+xml)
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no valueDoes that tells smth?
- This reply was modified 7 years, 9 months ago by softpiano.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Order date + 6 months in pdfThanks ??
So what is the problem?
Hi. Thanks for your reply. I can see green YES. I also checked my server mysql settings and everything is set to utf.. All my website shows Lithuanian characters without any problems. Every place i know is set with utf..
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Unicode Characters not ShowingHello. I have the same problem just in my case Lithuanian characters are not showing. And after inporting custom font, i can see the font change, but still no Lithuanian characters. A document simply ignores these ???ū??? letters. How should i solve it?