2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00
- replace unicode-chars by corresponding html-entities
- remove direct update of state-reading (use stateFormat for that)

git-svn-id: https://svn.fhem.de/fhem/trunk@6722 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ntruchsess 2014-10-09 11:20:55 +00:00
parent e83daeb088
commit 85dbe75c47

View File

@ -327,7 +327,6 @@ sub I2C_LCD_Set(@) {
my $t = join(" ", @a);
# set reading prior to regexp, could contain unprintable chars!
main::readingsSingleUpdate($hash,"writeXY",$value." ".$t,1);
readingsSingleUpdate($hash,"state",$t,1);
$t = _i2c_lcd_replace($hash,$t);
my $sl = length $t;
if ($sl > $l) {
@ -468,8 +467,8 @@ sub write {
<li>autoBreak &lt;on|off&gt;</li>
<li>restoreOnStartup &lt;on|off&gt;</li>
<li>restoreOnReconnect &lt;on|off&gt;</li>
<li>replaceRegex ä=ae,cd+=ef,g=\x{DF}<br/>
specify find=replace regex pattern eg for non-printable characters. \x{DF} will become char 223, which is ° on my lcd.
<li>replaceRegex &auml;=ae,cd+=ef,g=\x{DF}<br/>
specify find=replace regex pattern eg for non-printable characters. \x{DF} will become char 223, which is &ordm; on my lcd.
</li>
<li>customChar&lt;0-7&gt;<br/>
up to 8 5x8px custom chars, see http://www.quinapalus.com/hd44780udg.html for a generator, use \x{00} to \x{07} to display</li>