This is the code:
UPDATE `table_name`
SET `field_name` = replace(field_name, 'old_text', 'new_text')
a thoughtful use of digital
This is the code:
UPDATE `table_name`
SET `field_name` = replace(field_name, 'old_text', 'new_text')
That is avoiding “data truncated” error. You must avoid to replace a value in use.
The right way, if a given value is already applied to some items, is
You can use recode
recode UTF-8 *.php -v
provided that all the files have the same encoding.
Otherwise you can try with something like
iconv -f US-ASCII -t UTF-8 *.php
It could be an apparent problem if there aren’t non-ascii characters in a file: then these files are yet recognized, with
file -i --mime-encoding *
as us-ascii.
So you can add a non ascii character, like è:
sed -i -e “$aè” *.php
and afterwards redo the command “recode” as above and replace some ascii expression, like agrave; with UFT-8 à character.
Eventually you will delete the “è” from the end of the files.
To encode your SRT file in UTF-8 (for instance: “video.srt”), please follow this process:
1. Rename (F2) the “video.srt” file with your PC in “video.srt.txt”.
2. Launch a text app, like Kate.
3. Click on the “File” menu then select “Save the file as…”.
4. In coding option, select “UTF-8”. Then save your file.
5. Rename (F2) the file “video.srt.txt” to “video.srt”.
Done!
from: Zappiti Player 4K [EN]
Inkscape is in my opinion too complicated (and Sodipodi very difficult to install, because of its dipendecies), a very interesting project is SVG-edit, at https://github.com/SVG-Edit/svgedit.
Without any installation on your PC, you can edit on-line your svg files. The resulting code is very clean, even though we have found some problem in setting colors.
If you get rhis error message even you have all the rights, probably you are trying to run the command on a mounted partition that had the “noexec” flag on.
So change partition, .f.e. try your /home.
It’s probably a bug, but you couldn’t manage to view an svg object tag with firefox, unless is setted as image/svg (and not a text/svg).
It can happen that the ID autoincrement goes wrong; in this case my solution is very simple: I delete the ID column, and afterwards I re-create it (with the same parametres). It works.
I mean ancient greek font so that you can, typing ‘a’ get immediatly ‘α’. So far the free most interesting true type font (the only recognised by LibreOffice) is SPIonic.
Absolutely to avoid the “AncientGreek” extension: cumbersome, useless and very aggressive (after removing leaves you with modified shortcuts, including some basic like ctrl + z, ctrl + b and F3).Vey bad!
I noticed that the above solution works only within LibreOffice: if you copy a greek word in another program, you get a no-greek text (with latin encoding). That’s why I call it now a maquillage.
A possible, better solution is go to a website that easyly encode your text in ancient greek, such as this.
You can link within the css (in Calibre it is within the file “viewer-webengine.json”, in markdown-viewer browser extension is the css file you yourself have chosen) your external css file, with something like
@import url(http://localhost/path-to-your-css-file/your-css-file.css)
Provided you have a apache/php server in localhost, of course.