Hi, I'm using OLED displays with your U8g2lib. Great library, but I cannot print accented characters (é, à, ...).
#define U8LOG_WIDTH 16 // 16 characters wide
#define U8LOG_HEIGHT 8 // 8 lines
U8X8_SSD1306_128X64_NONAME_HW_I2C u8x8_i2c;
U8X8LOG u8x8log_i2c; // create object implementing text window with automatic vertical scrolling
uint8_t u8log_buffer_i2c[U8LOG_WIDTH * U8LOG_HEIGHT]; // allocate memory for display (width x height characters)
void setup() {
...
u8x8_i2c.begin(); // initialize OLED object
u8x8_i2c.setFont(u8x8_font_chroma48medium8_r); // set font
u8x8log_i2c.begin(u8x8_i2c, U8LOG_WIDTH, U8LOG_HEIGHT, u8log_buffer_i2c); // initialize OLED text window object, connect to U8x8, set character size and assign memory
u8x8log_i2c.setRedrawMode(0); // set the U8x8log redraw mode. 0: Update screen with newline, 1: Update screen for every char
...
}
I found an issue '452', for which you provided a solution, but this is for graphic mode. I tried various ways to do something similar, but I couldn't find an 'enableUTF8Print' method for the objects I created. I'm probably doing something wrong. Could you help me with that ?
Hi, I'm using OLED displays with your U8g2lib. Great library, but I cannot print accented characters (é, à, ...).
I found an issue '452', for which you provided a solution, but this is for graphic mode. I tried various ways to do something similar, but I couldn't find an 'enableUTF8Print' method for the objects I created. I'm probably doing something wrong. Could you help me with that ?
Many thanks Herwig